generate_exception_handler
Generate a global exception handler for Spring Boot apps. Define custom exceptions and map error responses to HTTP status codes.
Instructions
Generate global exception handler with @ControllerAdvice and custom exceptions
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| exceptions | No | Custom exception classes to generate | |
| packageName | No | Base package name | com.example.demo |