summary refs log tree commit diff stats
path: root/lib/pure/json.nim
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2011-01-15 23:57:19 +0100
committerAraq <rumpf_a@web.de>2011-01-15 23:57:19 +0100
commitfa111b9067f92107865d4496affcfc0518b7c493 (patch)
tree884a93f96c8229c83ef34dd101742314e01eb887 /lib/pure/json.nim
parent25d41f2f9a36028f0859c64824d1bc23a9480784 (diff)
downloadNim-fa111b9067f92107865d4496affcfc0518b7c493.tar.gz
cleanup: E_Base should not be used for inheriting exceptions; documentation generator generates dependencies section
Diffstat (limited to 'lib/pure/json.nim')
-rwxr-xr-xlib/pure/json.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pure/json.nim b/lib/pure/json.nim
index c32a82397..134c4926f 100755
--- a/lib/pure/json.nim
+++ b/lib/pure/json.nim
@@ -498,7 +498,7 @@ type
     of JArray:
       elems*: seq[PJsonNode]
 
-  EJsonParsingError* = object of EBase
+  EJsonParsingError* = object of EInvalidValue
 
 proc raiseParseErr(p: TJsonParser, msg: string) =
   raise newException(EJsonParsingError, errorMsgExpected(p, msg))