Enum rsass::Error [] [src]

pub enum Error {
    Input(PathBufError),
    IoError(Error),
    Encoding(FromUtf8Error),
    BadValue(String),
    BadArguments(String),
    ParseError(ErrorKind),
    S(String),
}

Most functions in rsass that returns a Result uses this Error type.

Variants

Methods

impl Error
[src]

[src]

[src]

Wrong kind of argument to a sass function. expected is a string describing what the parameter should have been, actual is the argument.

[src]

Multiple-argument variant of badarg.

Trait Implementations

impl Debug for Error
[src]

[src]

Formats the value using the given formatter.

impl Display for Error
[src]

[src]

Formats the value using the given formatter. Read more

impl From<Error> for Error
[src]

[src]

Performs the conversion.

impl From<FromUtf8Error> for Error
[src]

[src]

Performs the conversion.

impl From<ErrorKind> for Error
[src]

[src]

Performs the conversion.

impl<'a> From<Err<&'a [u8]>> for Error
[src]

[src]

Performs the conversion.