ParseError

The abstract data type ParseError represents parse errors. It provides the source position (SourcePos) of the error and a list of error messages (Message). A ParseError can be returned by the function parse. ParseError is an instance of the Show and Eq classes.
ParseError s e represents a parse error parametrized over the stream type s and the custom data e. Semigroup and Monoid instances of the data type allow us to merge parse errors from different branches of parsing. When merging two ParseErrors, the longest match is preferred; if positions are the same, custom data sets and collections of message items are combined. Note that fancy errors take precedence over trivial errors in merging.
The context and message from a Fail value.
A parse error.
A parsing error
A message describing a parsing error in human readable form.
Parse error
Detailed information about parsing errors. Used by ICU parsing engines that parse long rules, patterns, or programs, where the text being parsed is long enough that more information than an ICUError is needed to localize the error.
An error in the parser itself.
common parser error definition
Parse errors: what you get if parsing fails.
Errors that arise at a specific position in the file
This exception is used when a parser ultimately fails, the user of the parser is intimated via this exception. Pre-release
Error values for the lexer and parser.