pub enum JssErrorKind {
IOError(Error),
FormatError(Error),
SyntaxError(String),
RuntimeError(String),
TypeMismatch(String),
ValidationFail(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
RuntimeError(String)
The error type which is occurred at runtime
TypeMismatch(String)
The error type which is
ValidationFail(String)
The error type which is
UndefinedVariable
Runtime error when variable is undefined
Unreachable
A forbidden cst_node encountered
Trait Implementations§
Source§impl Debug for JssErrorKind
impl Debug for JssErrorKind
Auto Trait Implementations§
impl !RefUnwindSafe for JssErrorKind
impl !UnwindSafe for JssErrorKind
impl Freeze for JssErrorKind
impl Send for JssErrorKind
impl Sync for JssErrorKind
impl Unpin for JssErrorKind
impl UnsafeUnpin for JssErrorKind
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