ParseError -package:megaparsec
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.
The context and message from a
Fail value.
A message describing a parsing error in human readable form.
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 indicating that parsing the code block failed.
This exception is used when a parser ultimately fails, the user of the
parser is intimated via this exception.
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.
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
A value indicating that the JSON could not be decoded successfully.