Package app.ductape.sdk.resilience
Class ResilienceError
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
app.ductape.sdk.resilience.ResilienceError
- All Implemented Interfaces:
DuctapeError,Serializable
TS parity:
resilience.service.ts / sub-services HealthcheckError, QuotaError, FallbackError.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionResilienceError(String message, String code) ResilienceError(String message, String code, Object details) ResilienceError(String message, String code, Object details, Throwable cause) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ResilienceError
-
ResilienceError
-
ResilienceError
-
-
Method Details
-
code
Description copied from interface:DuctapeErrorStable machine-readable code, suitable for logs and API envelopes.- Specified by:
codein interfaceDuctapeError
-
details
Description copied from interface:DuctapeErrorOptional structured details; implementations may return an empty map.- Specified by:
detailsin interfaceDuctapeError
-