Context
We need a unified way to handle, categorize & display errors.
We need to figure out:
Wrappers
- ActiveRecord errors
- DB errors
- Contracts
Connectors
- JsonAPI
- Forms
- Error reporting (through events?)
Taxonomy
- Internal vs External ? (clearance for user display?)
- Hiearchy / grouping? (Ex: alfo error wrapper + when we want to continue processing and aggregate)
- Payload format
- Transforming attributes / params name by layer (contextualisation)
- I18n
References
Context
We need a unified way to handle, categorize & display errors.
We need to figure out:
Wrappers
Connectors
Taxonomy
References