Right now, the only error information returned by Scanner is SyntaxError, but it has the potential to give more detail about the specific reason for the error. It might be nice to have a configurable option to allow a Scanner to put this detailed error information somewhere.
Right now, the only error information returned by
Scanner
isSyntaxError
, but it has the potential to give more detail about the specific reason for the error. It might be nice to have a configurable option to allow aScanner
to put this detailed error information somewhere.