Enum rsonpath_lib::engine::error::EngineError
source · Expand description
Error enum for all types of errors that can be reported during engine execution.
Variants§
DepthBelowZero
Document depth fell below zero, which can only happen if there are more closing than opening braces.
DepthAboveLimit(usize)
The depth limit was reached – the document is too nested.
The inner usize
value should be set to the actual limit.
MalformedLabelQuotes(usize)
An error occurred when trying to parse a label terminated by a particular colon character.
The inner usize
value should be set to the byte index of the colon.
Trait Implementations§
source§impl Debug for EngineError
impl Debug for EngineError
source§impl Display for EngineError
impl Display for EngineError
source§impl Error for EngineError
impl Error for EngineError
1.30.0 · 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()