Enum calypso_diagnostic::error::DiagnosticError
source · pub enum DiagnosticError {
Rendering(DiagRenderError),
Diagnostic,
}
Expand description
An extension of CalError
used for diagnostics.
Variants§
Rendering(DiagRenderError)
Error while rendering a diagnostic
Diagnostic
A fatal error was reported within the global diagnostic reporting context.
Trait Implementations§
source§impl Debug for DiagnosticError
impl Debug for DiagnosticError
source§impl Display for DiagnosticError
impl Display for DiagnosticError
source§impl Error for DiagnosticError
impl Error for DiagnosticError
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<DiagnosticError> for CalError
impl From<DiagnosticError> for CalError
source§fn from(err: DiagnosticError) -> Self
fn from(err: DiagnosticError) -> Self
Converts to this type from the input type.
source§impl From<Error> for DiagnosticError
impl From<Error> for DiagnosticError
source§fn from(source: DiagRenderError) -> Self
fn from(source: DiagRenderError) -> Self
Converts to this type from the input type.