Skip to content

Commit

Permalink
Merge pull request #530 from dalizard/dimitar/update-exception-name
Browse files Browse the repository at this point in the history
Rename JSON::ParseError to JSON:ParserError
  • Loading branch information
hsbt authored Jul 13, 2023
2 parents a877630 + 20b80ca commit df47175
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ext/json/ext/parser/parser.c
Original file line number Diff line number Diff line change
Expand Up @@ -2958,7 +2958,7 @@ static const char MAYBE_UNUSED(_JSON_nfa_pop_trans)[] = {
*
* Parses the current JSON text _source_ and returns the complete data
* structure as a result.
* It raises JSON::ParseError if fail to parse.
* It raises JSON::ParserError if fail to parse.
*/
static VALUE cParser_parse(VALUE self)
{
Expand Down
2 changes: 1 addition & 1 deletion ext/json/ext/parser/parser.rl
Original file line number Diff line number Diff line change
Expand Up @@ -847,7 +847,7 @@ static VALUE cParser_initialize(int argc, VALUE *argv, VALUE self)
*
* Parses the current JSON text _source_ and returns the complete data
* structure as a result.
* It raises JSON::ParseError if fail to parse.
* It raises JSON::ParserError if fail to parse.
*/
static VALUE cParser_parse(VALUE self)
{
Expand Down

0 comments on commit df47175

Please sign in to comment.