Struct typeface::ErrorWithSource
source · pub struct ErrorWithSource {
pub description: String,
pub source: Error,
}Expand description
An error caused by another error.
Fields§
§description: String§source: ErrorTrait Implementations§
source§impl Debug for ErrorWithSource
impl Debug for ErrorWithSource
source§impl Display for ErrorWithSource
impl Display for ErrorWithSource
source§impl Error for ErrorWithSource
impl Error for ErrorWithSource
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()