ErrorProcessor constructor

ErrorProcessor(
  1. String code, [
  2. ErrorSeverity? severity
])

Create an error processor that assigns errors with this code the given severity.

If severity is null, matching errors will be filtered.

Implementation

ErrorProcessor(this.code, [this.severity]);