Type Alias 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.