vertx / io.vertx.config.vault.client / VaultException

VaultException

open class VaultException : Exception

Exception used when an interaction with Vault failed.

Author
Clement Escoffier

Constructors

<init>

VaultException(message: String)
VaultException(message: String, code: Int)
VaultException(message: String, cause: Throwable)

Functions

getStatusCode

open fun getStatusCode(): Int

toFailure

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>