Skip to content

chore: add error handler for web view exceptions - #47

Draft
Mathieu-bot wants to merge 1 commit into
hei-school:preprodfrom
NickyHariniaina:feat/error-handler
Draft

chore: add error handler for web view exceptions#47
Mathieu-bot wants to merge 1 commit into
hei-school:preprodfrom
NickyHariniaina:feat/error-handler

Conversation

@Mathieu-bot

Copy link
Copy Markdown
Contributor

Add ErrorHandler controller advice for Thymeleaf views with styled error page.

  • Handle NotFoundException (404), UnauthorizedException (401), and generic exceptions (500)
  • Render error.html template with status, error type, and message
  • Error messages in French

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

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant