pub enum InterpError {
UnknownSort(String),
UnknownOp(String),
DeclError(String),
CompileError(ResolveError),
CheckFailed(String),
ExtractFailed(ExtractError),
PopWithoutPush,
}Expand description
Error during interpretation.
Variants§
UnknownSort(String)
Unknown sort name.
UnknownOp(String)
Unknown operator / function name.
DeclError(String)
Sort mismatch or arity error in a declaration.
CompileError(ResolveError)
Rule compilation failed.
CheckFailed(String)
(check ...) assertion failed.
ExtractFailed(ExtractError)
(extract ...) could not produce a term from the named class.
PopWithoutPush
(pop) without matching (push).
Trait Implementations§
Source§impl Debug for InterpError
impl Debug for InterpError
Source§impl Display for InterpError
impl Display for InterpError
Source§impl From<ResolveError> for InterpError
impl From<ResolveError> for InterpError
Source§fn from(e: ResolveError) -> Self
fn from(e: ResolveError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for InterpError
impl RefUnwindSafe for InterpError
impl Send for InterpError
impl Sync for InterpError
impl Unpin for InterpError
impl UnsafeUnpin for InterpError
impl UnwindSafe for InterpError
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