Enum ogawa_rs::OgawaError
source · pub enum OgawaError {
InternalError(InternalError),
ParsingError(ParsingError),
UserError(UserError),
IoError(Error),
Other(Error),
}
Variants§
InternalError(InternalError)
ParsingError(ParsingError)
UserError(UserError)
IoError(Error)
Other(Error)
Trait Implementations§
source§impl Debug for OgawaError
impl Debug for OgawaError
source§impl Display for OgawaError
impl Display for OgawaError
source§impl Error for OgawaError
impl Error for OgawaError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<Error> for OgawaError
impl From<Error> for OgawaError
source§impl From<Error> for OgawaError
impl From<Error> for OgawaError
source§impl From<InternalError> for OgawaError
impl From<InternalError> for OgawaError
source§fn from(source: InternalError) -> Self
fn from(source: InternalError) -> Self
Converts to this type from the input type.
source§impl From<ParsingError> for OgawaError
impl From<ParsingError> for OgawaError
source§fn from(source: ParsingError) -> Self
fn from(source: ParsingError) -> Self
Converts to this type from the input type.