errorCodeRules top-level constant

List<ErrorRule> const errorCodeRules

Regeln je Code, vor der Regel der Art; siehe findErrorRule.

Implementation

const List<ErrorRule> errorCodeRules = [
  ErrorRule(kind: ErrorKind.api, codes: ['dialect_mismatch', 'response_translation_failed', 'response_unreadable'], key: 'server.response_unreadable'),
  ErrorRule(kind: ErrorKind.api, codes: ['route_missing', 'not_found', 'internal_translation_error'], key: 'server.connection_disturbed'),
];