Enum tailwind_css::TailwindErrorKind
source · pub enum TailwindErrorKind {
IOError(Error),
FormatError(Error),
SyntaxError(String),
TypeMismatch(String),
RuntimeError(String),
UndefinedVariable {
name: String,
},
Incomplete,
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
Incomplete
Parsing not complete
Unreachable
A forbidden cst_node encountered
Trait Implementations§
source§impl Debug for TailwindErrorKind
impl Debug for TailwindErrorKind
Auto Trait Implementations§
impl !RefUnwindSafe for TailwindErrorKind
impl Send for TailwindErrorKind
impl Sync for TailwindErrorKind
impl Unpin for TailwindErrorKind
impl !UnwindSafe for TailwindErrorKind
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