Function monch::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.