pub enum NoteErrorKind {
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 NoteErrorKind
impl Debug for NoteErrorKind
Auto Trait Implementations§
impl Freeze for NoteErrorKind
impl !RefUnwindSafe for NoteErrorKind
impl Send for NoteErrorKind
impl Sync for NoteErrorKind
impl Unpin for NoteErrorKind
impl !UnwindSafe for NoteErrorKind
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