Package co.cryptoservice.sdk
Class CryptoServiceException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
co.cryptoservice.sdk.CryptoServiceException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ApiError,TransportError
public abstract sealed class CryptoServiceException
extends RuntimeException
permits ApiError, TransportError
The base of every error the client raises for a call:
ApiError when the server answered
with an error status, TransportError when no usable answer arrived.
Messages name the method, path and status only. They never contain credentials, keys, plaintexts or request and response bodies, so they are safe to log.
- See Also:
-
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Method Details
-
method
The HTTP method of the failed call.- Returns:
- for example
POST
-
path
The path of the failed call, below the base URL.- Returns:
- for example
/v2/sign
-