com.twitter.finatra.http.exceptions
An ExceptionMapper converts a T-typed throwable to an HTTP response.
T
Java users should use the AbstractExceptionMapper.
Maps an exception of T to a com.twitter.finagle.http.Response
- the incoming com.twitter.finagle.http.Request
- the Exception T to handle
a valid com.twitter.finagle.http.Response
An ExceptionMapper converts a
T
-typed throwable to an HTTP response.Java users should use the AbstractExceptionMapper.