Package app.ductape.sdk.api.util
Class IntegrationApiErrors
java.lang.Object
app.ductape.sdk.api.util.IntegrationApiErrors
Human-readable messages from integrations service responses.
Backend uses ERROR() →
{ status: false, errors: string|object, meta?: ... }.-
Method Summary
Modifier and TypeMethodDescriptionstatic StringmessageFromApiException(ApiException apiException) static StringmessageFromBody(String body) static IntegrationApiErrortoIntegrationApiError(Throwable error)
-
Method Details
-
messageFromBody
-
toIntegrationApiError
-
messageFromApiException
-