Enum rsonpath_lib::query::error::CompilerError
source · pub enum CompilerError {
QueryTooComplex(Option<TryFromIntError>),
NotSupported(UnsupportedFeatureError),
}
Expand description
Errors raised by the query compiler.
Variants§
QueryTooComplex(Option<TryFromIntError>)
Max automaton size was exceeded during compilation of the query.
NotSupported(UnsupportedFeatureError)
Compiler error that occurred due to a known limitation.
Trait Implementations§
source§impl Debug for CompilerError
impl Debug for CompilerError
source§impl Display for CompilerError
impl Display for CompilerError
source§impl Error for CompilerError
impl Error for CompilerError
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()
source§impl From<UnsupportedFeatureError> for CompilerError
impl From<UnsupportedFeatureError> for CompilerError
source§fn from(source: UnsupportedFeatureError) -> Self
fn from(source: UnsupportedFeatureError) -> Self
Converts to this type from the input type.