Unexpected is thrown by Parser.serror
, which is invoked when an inner
token matching fails.
Unlike NoMatch
, this exception denotes that the stream is in an
irrecoverable state because tokens have been consumed.
Unexpected is thrown by Parser.serror
, which is invoked when an inner
token matching fails.
Unlike NoMatch
, this exception denotes that the stream is in an
irrecoverable state because tokens have been consumed.