Macro abortable_parser::wrap_err [−][src]
macro_rules! wrap_err { ($i:expr, $f:ident!( $( $args:tt )* ), $e:expr) => { ... }; ($i:expr, $f:ident( $( $args:tt )* ), $e:expr ) => { ... }; ($i:expr, $f:ident, $e:expr) => { ... }; }
Wraps any Error return from a subparser in another error. Stores the position at this point in the parse tree allowing you to associate context with wrapped errors.