Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sogutemir/springbooterrorhandlingexample
https://github.com/sogutemir/springbooterrorhandlingexample
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/sogutemir/springbooterrorhandlingexample
- Owner: sogutemir
- Created: 2024-08-15T16:46:41.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2024-08-15T17:26:28.000Z (4 months ago)
- Last Synced: 2024-08-16T20:55:33.959Z (4 months ago)
- Language: Java
- Size: 16.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# SpringBootErrorHandlingExample
## Purpose of the Project
The purpose of this project is to demonstrate error handling in a Spring Boot application. It includes examples of:
- Handling validation errors using `@Valid` and `@ExceptionHandler`.
- Custom exception handling with user-defined exceptions.
- Writing unit tests for controllers to ensure proper error handling and response status codes.