pub enum EngineError {
Syntax(SyntaxDetail),
Semantic(String),
Reasoning(String),
Backend((String, String)),
}Expand description
The pipeline’s typed error (Syntax/Semantic/Reasoning/Backend),
re-exported so embedders, tests, and the server can pattern-match the error
CLASS instead of string-parsing the [Xxx Error] Display prefix.
Unified error type for the nibli-kr → nibli-semantics → nibli-reason pipeline.
Variants§
Syntax(SyntaxDetail)
Syntax error from the parser (nibli-kr).
Semantic(String)
Semantic error from the compiler (nibli-semantics).
Reasoning(String)
Reasoning error from the inference engine (nibli-reason).
Backend((String, String))
Backend error from external compute dispatch. Fields: (predicate, message).
Trait Implementations§
Source§impl Clone for NibliError
impl Clone for NibliError
Source§fn clone(&self) -> NibliError
fn clone(&self) -> NibliError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for NibliError
impl Debug for NibliError
Auto Trait Implementations§
impl Freeze for NibliError
impl RefUnwindSafe for NibliError
impl Send for NibliError
impl Sync for NibliError
impl Unpin for NibliError
impl UnsafeUnpin for NibliError
impl UnwindSafe for NibliError
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