Skip to content

Implement Global Error Handler #26

@SammyBytes

Description

@SammyBytes

[chore] Add Global Error Handling

Description

Centralize error handling for all routes to improve maintainability.

Tasks

  • Create a middleware to catch all errors
  • Log errors with Pino
  • Return consistent HTTP error responses
  • Unit tests
  • Document in English

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions