Skip to content

Setup custom error handler#5

Merged
faabiosr merged 2 commits intomainfrom
chore/use-error-handler
May 27, 2025
Merged

Setup custom error handler#5
faabiosr merged 2 commits intomainfrom
chore/use-error-handler

Conversation

@faabiosr
Copy link
Copy Markdown
Owner

Enable the custom error handler with Echo and improve the router to use the errors.HTTP.

faabiosr added 2 commits May 27, 2025 20:35
The Public was set wrongly, instead of setting a public message inside
the json error, must be outside wrapping all the datastore call.
Enabled the custom errors handling and improve the code in router by
using the errors.HTTP.
@faabiosr faabiosr merged commit 93a551f into main May 27, 2025
1 check passed
@faabiosr faabiosr deleted the chore/use-error-handler branch May 27, 2025 18:40
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