Expand description
An error type, ErrorTree, designed to retain much more useful
information about parse failures than the built-in nom error types.
Requires the error feature to be enabled.
Enums§
- Base
Error Kind - These are the different specific things that can go wrong at a particular
location during a nom parse. Many of these are collected into an
ErrorTree. - Expectation
- Enum for generic things that can be expected by nom parsers
- Generic
Error Tree - Generic version of
ErrorTree, which allows for arbitraryTag,Context, andExternalErrortypes. SeeErrorTreefor more extensive docs and examples. - Stack
Context - Context that can appear in a stack, above a base
ErrorTree. Stack contexts are attached by parser combinators to errors from their subparsers during stack unwinding.
Type Aliases§
- Error
Tree - A comprehensive tree of nom errors describing a parse failure.