Enum jamal::Error [] [src]

pub enum Error {
    ParseFloat(ParseFloatError),
    InvalidValue,
    UnsupportedValue(YamlValue),
}

represents potential errors that can happen during the transformation process

Variants

Occurs when an attempt to parse a serde_yaml::Real as an f64 fails

Occurs when a transformation is requested for an invalid value

Occurs when an unsupported transformation is requested

Trait Implementations

impl Debug for Error
[src]

Formats the value using the given formatter.

impl StdError for Error
[src]

A short description of the error. Read more

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

impl Display for Error
[src]

Formats the value using the given formatter. Read more

impl From<ParseFloatError> for Error
[src]

Performs the conversion.