Skip to main content

Error

Type Alias Error 

Source
pub type Error = Error;
Expand description

Why a module couldn’t be written (hcl-rs documents formatting as infallible: kept typed rather than assumed).

Aliased Type§

pub enum Error {
    Message(String),
    Utf8(Utf8Error),
    Io(Error),
    Eval(Error),
    Parse(Error),
}

Variants§

§

Message(String)

Represents a generic error message.

§

Utf8(Utf8Error)

Represents an error that resulted from invalid UTF8 input.

§

Io(Error)

Represents generic IO errors.

§

Eval(Error)

Represents errors during expression evaluation.

§

Parse(Error)

Represents errors while parsing HCL.