Closed andreas-ibm closed 4 years ago
The thrown error object has the src
and ctx
properties that provides more info about where the error was thrown.
You can try/catch (error) and access those properties as error.src
and error.ctx
Hope this helps!
It does indeed, thank you!
Enhancement please!
Subject says it all really, for example in list.js there is a check:
This doesn't help me much when there's a large tree it's parsing (I tried adding
+typeof obj
to the error message, which told me it was of typeobject
which ground my gears).or this one:
which gave me no clue what I was doing wrong! (I ended up commenting the lines out just to keep going!).
thanks!