ErrorType class

The type of an HTError.

Implemented types

Constructors

ErrorType(String name, int weight, ErrorSeverity severity)
Initialize a newly created error type to have the given name and severity.
const

Properties

displayName String
no setter
hashCode int
The hash code for this object.
no setteroverride
name String
The name of this error type.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
severity ErrorSeverity
The severity of this type of error.
final
weight int
The weight value of the error type.
final

Methods

compareTo(ErrorType other) int
Compares this object to another object.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
override

Constants

compileTimeError → const ErrorType
Compile-time errors are errors that preclude execution. A compile time error must be reported by a compiler before the erroneous code is executed.
externalError → const ErrorType
External errors are errors reported by the dart side.
hint → const ErrorType
Extra analysis run over the code to follow best practices, which are not in the Dart Language Specification.
lint → const ErrorType
Lint warnings describe style and best practice recommendations that can be used to formalize a project's style guidelines.
runtimeError → const ErrorType
Run-time errors are errors that occurred during execution. A run time error is reported by the interpreter.
staticTypeWarning → const ErrorType
Reported by analyzer.
staticWarning → const ErrorType
Reported by analyzer.
syntacticError → const ErrorType
Syntactic errors are errors produced as a result of input that does not conform to the grammar.
todo → const ErrorType
Task (todo) comments in user code.
values → const List<ErrorType>