A decorated Failure with extra metadata; provides a much more
detailed, through verbose, of the possible inputs that may have been
expected at the index at which the parse failed.
Attributes
failure
The raw failure object
groups
A list of all the highest level parsers which could have
succeeded at the given failure index. These give you a
good
terminals
A list of all the lowest level parsers which could have
succeeded at the failure index. These are things like
literal string parsers, CharIn, CharPred, etc.
Displays the aggregate failure message, excluding the parse stack. This
includes a list of all highest-level parsers which could have succeeded
at the failure index. This gives you a good high-level overview of what
the parser expected, at the cost
Displays the aggregate failure message, excluding the parse stack. This
includes a list of all highest-level parsers which could have succeeded
at the failure index. This gives you a good high-level overview of what
the parser expected, at the cost
Displays the short failure message excluding the parse stack. This shows
the last parser which failed causing the parse to fail. Note that this
does not include other parsers which may have failed earlier; see terminalsMsg
and reportParseMsg for more detailed errors
Displays the short failure message excluding the parse stack. This shows
the last parser which failed causing the parse to fail. Note that this
does not include other parsers which may have failed earlier; see terminalsMsg
and reportParseMsg for more detailed errors
Displays the terminals failure message, excluding the parse stack. This
includes a list of all lowest-level parsers which could have succeeded
at the failure index: literal strings, CharIn, CharPreds, etc.
This gives you a detailed listing of how the parse could be corrected,
though it can be verbose.
Displays the terminals failure message, excluding the parse stack. This
includes a list of all lowest-level parsers which could have succeeded
at the failure index: literal strings, CharIn, CharPreds, etc.
This gives you a detailed listing of how the parse could be corrected,
though it can be verbose.