Skip to content

Improve API Error Handling Architecture with Centralized Aggirgator #1502

@Ezequiel-Valencia

Description

@Ezequiel-Valencia

Problem

Current API errors are not cleanly separated from domain specific errors, don't include an HTTP error code, and don't appear within the generated OpenAPI specification.

Solution

Each endpoint grabs domain specific errors, and repackage them as digestible web errors, and use exception mappers to grab these errors which are thrown to create the appropriate HTTP response alongside OpenAPI yml specification.

Metadata

Metadata

Labels

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions