Enum solang_parser::diagnostics::ErrorType
source · pub enum ErrorType {
None,
ParserError,
SyntaxError,
DeclarationError,
CastError,
TypeError,
Warning,
}Expand description
The type of a diagnostic.
Variants§
None
No specific error type.
ParserError
Parser error.
SyntaxError
Syntax error.
DeclarationError
Declaration error.
CastError
Cast error.
TypeError
Type error.
Warning
Warning.
Trait Implementations§
source§impl Ord for ErrorType
impl Ord for ErrorType
source§impl PartialEq<ErrorType> for ErrorType
impl PartialEq<ErrorType> for ErrorType
source§impl PartialOrd<ErrorType> for ErrorType
impl PartialOrd<ErrorType> for ErrorType
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read more