open class VaultException : Exception
Exception used when an interaction with Vault failed.
Author
Clement Escoffier
VaultException(message: String)VaultException(message: String, code: Int)VaultException(message: String, cause: Throwable) |
open fun getStatusCode(): Int |
|
open static fun <T : Any> toFailure(message: String, cause: Throwable): AsyncResult<T>open static fun <T : Any> toFailure(status: String, code: Int, body: String): AsyncResult<T>open static fun <T : Any> toFailure(message: String): AsyncResult<T> |