pub trait ParseErrorExt {
// Required method
fn to_temps_error(self, input: &str) -> TempsError;
}Expand description
Extension trait for converting parser errors to TempsError.
This trait is implemented for winnow parser errors to provide convenient conversion to our error type.
Required Methods§
Sourcefn to_temps_error(self, input: &str) -> TempsError
fn to_temps_error(self, input: &str) -> TempsError
Convert a parser error to a TempsError.
This method extracts position information from the parser error and creates a properly formatted TempsError.