Struct diagnostic_quick::QError
source · pub struct QError {
pub error: Box<QErrorKind>,
pub level: DiagnosticLevel,
pub source: Option<Box<dyn Error>>,
}Fields§
§error: Box<QErrorKind>§level: DiagnosticLevel§source: Option<Box<dyn Error>>Implementations§
source§impl QError
impl QError
pub fn as_diagnostic(&self) -> Diagnostic
Trait Implementations§
source§impl Error for QError
impl Error for QError
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 QError
impl From<DiagnosticError> for QError
source§fn from(error: DiagnosticError) -> Self
fn from(error: DiagnosticError) -> Self
Converts to this type from the input type.
source§impl From<ParseFloatError> for QError
impl From<ParseFloatError> for QError
source§fn from(error: ParseFloatError) -> Self
fn from(error: ParseFloatError) -> Self
Converts to this type from the input type.
source§impl From<ParseIntError> for QError
impl From<ParseIntError> for QError
source§fn from(error: ParseIntError) -> Self
fn from(error: ParseIntError) -> Self
Converts to this type from the input type.
source§impl<T> From<PoisonError<T>> for QError
impl<T> From<PoisonError<T>> for QError
source§fn from(error: PoisonError<T>) -> Self
fn from(error: PoisonError<T>) -> Self
Converts to this type from the input type.