- Type Parameters:
T- type of throwable handled by this handler
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
The routing error handler. Can be mapped to the error cause in
Routing.-
Method Summary
-
Method Details
-
handle
Error handling consumer. Do not throw an exception from an error handler, it would make this error handler invalid and the exception would be ignored.- Parameters:
ctx- the server contextexception- the cause of the error
-