-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Description
A grammar I'm developing seems to be throwing a ParserError, although I'm having a lot of trouble finding out exactly where the error is happening. To make matters more complicated, I seem to be unable to see the error messages that are coming out of the ParserError. It seems like the message
parameter is not being propogated to the error object or accessible in the console.
Here's a simple test case.
> try { throw new Error('123') } catch (e) { console.error(e.toString()) }
Error: 123
undefined
> try { throw new ParserError('123') } catch (e) { console.error(e.toString()) }
Error
Metadata
Metadata
Assignees
Labels
No labels