pub enum DokiErrorKind {
IOError(Error),
FormatError(Error),
SyntaxError(String),
TypeMismatch(String),
RuntimeError(String),
UndefinedVariable {
name: String,
},
Unreachable,
}Expand description
Actual error data for the error
Variants§
IOError(Error)
The error type for I/O operations
FormatError(Error)
The error type which is returned from formatting a message into a stream.
SyntaxError(String)
The error type which is
TypeMismatch(String)
The error type which is
RuntimeError(String)
The error type which is occurred at runtime
UndefinedVariable
Runtime error when variable is undefined
Unreachable
A forbidden cst_node encountered
Trait Implementations§
Source§impl Debug for DokiErrorKind
impl Debug for DokiErrorKind
Auto Trait Implementations§
impl Freeze for DokiErrorKind
impl !RefUnwindSafe for DokiErrorKind
impl Send for DokiErrorKind
impl Sync for DokiErrorKind
impl Unpin for DokiErrorKind
impl !UnwindSafe for DokiErrorKind
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