Skip to content

Refactor Error Templating #2385

@amorton

Description

@amorton

When we started the V2 error project we made one big yaml file (errors.yaml) for all the error definitions.

After removing all the V1 errors that file is huge, and we will need to edit / improve as we did a lift and shift for a lot of errors.

To make it easier: break the file up into FAMILY/SCOPE.yaml so there is one file for each error class such as FilterException. It may also be handy to have a script file that could sort the contents of the yaml file based on the error code. This may make it easier to find entries that are close to each other.

We may want to have a single file per error def, but we can do that later if it feels needed.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions