Struct tailwind_error::TailwindError
source · [−]pub struct TailwindError {
pub kind: Box<TailwindErrorKind>,
pub level: DiagnosticLevel,
pub file: Option<Url>,
pub range: Option<Range<usize>>,
}Expand description
Error type for all tailwind operators
Fields
kind: Box<TailwindErrorKind>Actual error kind
level: DiagnosticLevelError level for report
file: Option<Url>File name where error occurred
range: Option<Range<usize>>Range offset where error occurred
Implementations
Constructor of [NoteErrorKind::Unreachable]
Constructor of [NoteErrorKind::UndefinedVariable]
Deprecated or obsolete code. Clients are allowed to rendered diagnostics with this tag strike through.
Unused or unnecessary code. Clients are allowed to render diagnostics with this tag faded out instead of having an error squiggle.
Constructor of [NoteErrorKind::$t]
Constructor of [NoteErrorKind::$t]
Constructor of [NoteErrorKind::$t]
Get the tags as DiagnosticTag
Convert error to lsp Diagnostic
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.