pub fn with_failure_handling<'a, T>(
combinator: impl Fn(&'a str) -> ParseResult<'_, T>,
) -> impl Fn(&'a str) -> Result<T, ParseErrorFailureError>Expand description
Opinionated helper that converts a combinator into a Result<T, String>
pub fn with_failure_handling<'a, T>(
combinator: impl Fn(&'a str) -> ParseResult<'_, T>,
) -> impl Fn(&'a str) -> Result<T, ParseErrorFailureError>Opinionated helper that converts a combinator into a Result<T, String>