Nice and convenient exception handling
- Include the dependency in you pom.xml
- Let Spring Boot scan this package:
@SpringBootApplication(scanBasePackages = {
"your.own.package",
"io.github.honoriuss"})
- You can override (customize) some properties in your application.yaml:
exception-toolset:
api-error:
include-url: false
include-client-info: false
http-status-code: 400