summaryrefslogtreecommitdiff
path: root/ext/json/lib
diff options
context:
space:
mode:
authorJean Boussier <[email protected]>2025-05-12 13:34:13 +0200
committerHiroshi SHIBATA <[email protected]>2025-05-13 14:12:22 +0900
commit50ef208369c683346340d6dfdc151d4dfceb998d ()
tree8e1e7917a9d2142d1dd055ddb5b2608af8aa7beb /ext/json/lib
parent8f008598c3be85ee210317236e07cef92296c191 (diff)
[ruby/json] parser.c: include line and column in error messages
https://.com/ruby/json/commit/30e35b9ba5
Notes: Merged: https://.com/ruby/ruby/pull/13310
-rw-r--r--ext/json/lib/json/common.rb4
1 files changed, 3 insertions, 1 deletions
@@ -230,7 +230,9 @@ module JSON
class JSONError < StandardError; end
# This exception is raised if a parser error occurs.
- class ParserError < JSONError; end
# This exception is raised if the nesting of parsed data structures is too
# deep.