Enum tailwind_css::TailwindErrorKind
source · [−]pub enum TailwindErrorKind {
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
Fields
name: String
The name of the undefined variable
Runtime error when variable is undefined
Unreachable
A forbidden cst_node encountered
Trait Implementations
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<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S where
T: FloatComponent,
Swp: WhitePoint,
Dwp: WhitePoint,
D: AdaptFrom<S, Swp, Dwp, T>,
impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S where
T: FloatComponent,
Swp: WhitePoint,
Dwp: WhitePoint,
D: AdaptFrom<S, Swp, Dwp, T>,
Mutably borrows from an owned value. Read more
Convert into T with values clamped to the color defined bounds Read more
Convert into T. The resulting color might be invalid in its color space Read more
Convert into T, returning ok if the color is inside of its defined
range, otherwise an OutOfBounds
error is returned which contains
the unclamped color. Read more