with_error_context

Function with_error_context 

Source
pub fn with_error_context<'a, O>(
    combinator: impl Fn(&'a str) -> ParseResult<'a, O>,
    message: &'static str,
) -> impl Fn(&'a str) -> ParseResult<'a, O>
Expand description

Provides some context to a failure.