Type Alias lightningcss::error::PrinterError

source ·
pub type PrinterError = Error<PrinterErrorKind>;
Expand description

A printer error.

Aliased Type§

struct PrinterError {
    pub kind: PrinterErrorKind,
    pub loc: Option<ErrorLocation>,
}

Fields§

§kind: PrinterErrorKind

The type of error that occurred.

§loc: Option<ErrorLocation>

The location where the error occurred.

Trait Implementations§

source§

impl From<Error> for PrinterError

source§

fn from(_: Error) -> PrinterError

Converts to this type from the input type.