T - The throwableR - The result typepublic interface ExceptionHandler<T extends java.lang.Throwable,R>
| Modifier and Type | Method and Description |
|---|---|
R |
handle(io.micronaut.http.HttpRequest request,
T exception)
Handles an exception and returns the result.
|