Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kit::Errors - Add errors taxology #118

Open
nathan-appere opened this issue Dec 2, 2020 · 0 comments
Open

Kit::Errors - Add errors taxology #118

nathan-appere opened this issue Dec 2, 2020 · 0 comments

Comments

@nathan-appere
Copy link
Member

nathan-appere commented Dec 2, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant