ErrorType constructor

const ErrorType(
  1. String name,
  2. int ordinal,
  3. ErrorSeverity severity
)

Initialize a newly created error type to have the given name and severity.

Implementation

const ErrorType(this.name, this.ordinal, this.severity);