Enum tailwind_error::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
Fields
name: String
The name of the undefined variable
Runtime error when variable is undefined
Incomplete
Parsing not complete
Unreachable
A forbidden cst_node encountered
Trait Implementations
sourceimpl 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
impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
pub fn pointer_metadata(
&<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
pub fn pointer_metadata(
&<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more