nitlanguage
/
nit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3181beb
)
lib/json: improve the human readable version of JsonParseError
author
Alexis Laferrière
<alexis.laf@xymus.net>
Mon, 29 Jun 2015 01:31:26 +0000
(21:31 -0400)
committer
Alexis Laferrière
<alexis.laf@xymus.net>
Mon, 29 Jun 2015 02:47:05 +0000
(22:47 -0400)
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
lib/json/error.nit
patch
|
blob
|
history
diff --git
a/lib/json/error.nit
b/lib/json/error.nit
index
dab1689
..
85e6154
100644
(file)
--- a/
lib/json/error.nit
+++ b/
lib/json/error.nit
@@
-23,7
+23,7
@@
class JsonParseError
redef fun to_s do
var p = position
if p isa Position then
- return "[{p}] {super}"
+ return "Error Parsing JSON: [{p}] {super}"
else
return super
end