T
- the exception's type@ConsumerType
public interface ExceptionMapper<T extends java.lang.Exception>
APIError
representation. Use the exception's message to provide meaningful
information about the error.Modifier and Type | Method and Description |
---|---|
APIError |
map(T exception)
Converts an exception to its
APIError representation. |