pub enum ExemplarRunError {
Shape {
rule: String,
errors: Vec<ExemplarShapeError>,
},
AmbiguousTitle(String),
Reference(String),
Compile(EvalError),
}Expand description
Configuration or compilation failure that aborts the run.
Variants§
Shape
Structurally invalid exemplars on a named rule.
Fields
§
errors: Vec<ExemplarShapeError>Parser shape errors.
AmbiguousTitle(String)
Title fallback is not unique in the collection.
Reference(String)
A correlation referenced a rule that is not in the collection.
Compile(EvalError)
A rule or pipeline failed to compile.
Trait Implementations§
Source§impl Debug for ExemplarRunError
impl Debug for ExemplarRunError
Source§impl Display for ExemplarRunError
impl Display for ExemplarRunError
Source§impl Error for ExemplarRunError
impl Error for ExemplarRunError
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()
Auto Trait Implementations§
impl !RefUnwindSafe for ExemplarRunError
impl !UnwindSafe for ExemplarRunError
impl Freeze for ExemplarRunError
impl Send for ExemplarRunError
impl Sync for ExemplarRunError
impl Unpin for ExemplarRunError
impl UnsafeUnpin for ExemplarRunError
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