cfunction
(parser/error parser)
If the parser is in the error state, returns the message associated
with that error. Otherwise, returns nil. Also flushes the parser
state and parser queue, so be sure to handle everything in the queue
before calling parser/error.