Skip to content

Kit::Errors - Add errors taxology #118

Description

@nathan-appere

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

Metadata

Metadata

Assignees

No one assigned

    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