Open shellscape opened 9 years ago
What information except for stack trace you want to get from e
?
That's all I needed at the moment. The code allows for expansion if we modify errors to contain anything other than line and syntax. It's just forward-thinking.
ParseError is an improvement upon the previous error reporting. But it causes some data loss and important information during conversion from Error to ParseError. The following code is offered as an improvement to the object, adding a track trace (important!) and attaching existing/conflicting property names from Error to a
super
property: