Struct fuzzy_pickles::parser::ErrorDetail
source · pub struct ErrorDetail { /* private fields */ }
Expand description
Information about a parsing error
Implementations§
source§impl ErrorDetail
impl ErrorDetail
sourcepub fn with_text<'a>(&'a self, text: &'a str) -> ErrorDetailText<'a>
pub fn with_text<'a>(&'a self, text: &'a str) -> ErrorDetailText<'a>
Enhance the error with the source code
Trait Implementations§
source§impl Debug for ErrorDetail
impl Debug for ErrorDetail
source§impl From<ErrorDetail> for ErrorDetail
impl From<ErrorDetail> for ErrorDetail
source§fn from(other: ErrorDetail) -> Self
fn from(other: ErrorDetail) -> Self
Converts to this type from the input type.