pub enum EvalError {
UnknownConcept(Sctid),
NotAReferenceSet(Sctid),
UnknownScheme(String),
UnknownIdentifier {
scheme: String,
code: String,
},
UnknownField {
refset: Sctid,
field: String,
},
Unsupported(&'static str),
UnknownDialect(String),
Storage(String),
}Expand description
A failure to evaluate.
Variants§
UnknownConcept(Sctid)
The expression names a concept the edition does not have.
NotAReferenceSet(Sctid)
A ^ focus is not a reference set with members in the edition.
UnknownScheme(String)
An alternate identifier scheme alias resolves to no identifier scheme.
UnknownIdentifier
An alternate identifier names no concept.
UnknownField
A reference set has no field of the name.
Unsupported(&'static str)
A construct the edition’s data cannot answer.
UnknownDialect(String)
A dialect alias the specification does not list.
Storage(String)
The edition’s storage failed.
Trait Implementations§
impl Eq for EvalError
Source§impl Error for EvalError
impl Error for EvalError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns 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()
impl StructuralPartialEq for EvalError
Auto Trait Implementations§
impl Freeze for EvalError
impl RefUnwindSafe for EvalError
impl Send for EvalError
impl Sync for EvalError
impl Unpin for EvalError
impl UnsafeUnpin for EvalError
impl UnwindSafe for EvalError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more