Skip to content

Error handling#4

Merged
faabiosr merged 4 commits intomainfrom
chore/error-handling
May 27, 2025
Merged

Error handling#4
faabiosr merged 4 commits intomainfrom
chore/error-handling

Conversation

@faabiosr
Copy link
Copy Markdown
Owner

Instead of using the default Echo error handling, was created a library that will manages the application error handling.

faabiosr added 4 commits May 26, 2025 21:23
A exclusive error package was created and used to centralize all error
related and standard extensions.
This new feature allow us to hide the internal errors like database
failures and expose a non critical message to the user.
Wraps an error with HTTP status code.
A custom Echo HTTPErrorHandler to deal with Public errors and HTTP
errors.
@faabiosr faabiosr merged commit 410a0e5 into main May 27, 2025
1 check passed
@faabiosr faabiosr deleted the chore/error-handling branch May 27, 2025 18:49
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

Successfully merging this pull request may close these issues.

1 participant