@FunctionalInterface public interface ServiceProviderErrorMapper
| Modifier and Type | Method and Description |
|---|---|
ServiceMessage |
toMessage(String qualifier,
Throwable throwable)
Maps an exception to a
ServiceMessage. |
ServiceMessage toMessage(String qualifier, Throwable throwable)
ServiceMessage.qualifier - original qualifier.throwable - the exception to map to a service message.Copyright © 2015–2021. All rights reserved.