Enum css::StylesheetError []

pub enum StylesheetError {
    Io(PathBufError),
    Format(PathBufError),
    Parse(PathBufSourceLocationString),
}

Represents all the things that can go wrong when loading and saving stylesheets.

Variants

An input-output error occurred, typically when loading or creating a file.

An error occurred during a std::fmt::write (only happens when saving).

An error occurred during a parse.

Trait Implementations

impl Debug for StylesheetError
[src]

[src]

Formats the value using the given formatter.

impl Display for StylesheetError

Formats the value using the given formatter. Read more

impl Error for StylesheetError

A short description of the error. Read more

The lower-level cause of this error, if any. Read more

impl<'a> From<Context<&'a Path, Error>> for StylesheetError

Performs the conversion.

impl<'a> From<Context<&'a Path, Error>> for StylesheetError

Performs the conversion.