Enum rsonpath_lib::query::errors::QueryError
source · pub enum QueryError {
ParseError {
report: ParseErrorReport,
},
InternalNomError {
source: Error<String>,
},
}Expand description
Errors raised by the query parser.
Variants§
ParseError
Fields
§
report: ParseErrorReportError report.
Parsing error that occurred due to invalid input.
InternalNomError
Internal parser error. This is not expected to happen,
and signifies a bug in query.
Trait Implementations§
source§impl Debug for QueryError
impl Debug for QueryError
source§impl Display for QueryError
impl Display for QueryError
source§impl Error for QueryError
impl Error for QueryError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()