Enum docima::DocimaError [−][src]
#[non_exhaustive]
pub enum DocimaError {
IoError(Error),
PngEncodingError(EncodingError),
StdError(Box<dyn Error>),
MissingField(String),
Custom(String),
}
Expand description
The docima Error
type.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
An IO error.
Tuple Fields of IoError
0: Error
An image
crate error.
Tuple Fields of PngEncodingError
A dynamic std
error.
Tuple Fields of MissingField
0: String
A custom error, explained in the string.
Tuple Fields of Custom
0: String
Trait Implementations
Performs the conversion.