Enum feattle::json_reading::FromJsonError [−][src]
pub enum FromJsonError {
WrongKind {
expected: &'static str,
actual: &'static str,
},
ParseError {
cause: Box<dyn Error + Send + Sync + 'static, Global>,
},
}
Expand description
Indicate an error that occurred while trying to read a feattle value from JSON
Variants
Implementations
Create a new FromJsonError::ParseError
variant
Trait Implementations
impl<PersistError> From<FromJsonError> for UpdateError<PersistError> where
PersistError: 'static + Error + Send + Sync,
impl<PersistError> From<FromJsonError> for UpdateError<PersistError> where
PersistError: 'static + Error + Send + Sync,
Performs the conversion.