Skip to content

Implement Global Error Handler #26

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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