Enum jamal::Error
[−]
[src]
pub enum Error { ParseFloat(ParseFloatError), InvalidValue, UnsupportedValue(YamlValue), }
represents potential errors that can happen during the transformation process
Variants
ParseFloat(ParseFloatError)
Occurs when an attempt to parse a serde_yaml::Real
as an f64
fails
InvalidValue
Occurs when a transformation is requested for an invalid value
UnsupportedValue(YamlValue)
Occurs when an unsupported transformation is requested
Trait Implementations
impl Debug for Error
[src]
impl StdError for Error
[src]
fn description(&self) -> &str
A short description of the error. Read more
fn cause(&self) -> Option<&StdError>
The lower-level cause of this error, if any. Read more
impl Display for Error
[src]
impl From<ParseFloatError> for Error
[src]
fn from(error: ParseFloatError) -> Error
Performs the conversion.