class TlsException
source · line 32public
public class TlsException public constructor(
/**
* The handshake, transfer, verification, or configuration operation that failed.
*/
public val operation: String,
/**
* The structured category of the TLS failure.
*/
public val kind: TlsFailureKind,
/**
* The native TLS backend error code reported for the failure.
*/
public val code: ULong,
/**
* The certificate-verification result code reported by the backend.
*/
public val verifyCode: Long,
/**
* The system error associated with the failed native operation.
*/
public val systemError: Int,
/**
* A human-readable description of the failure.
*/
public val detail: String
) : Exception(Some(operation + ": " + detail))
- Supertype
Exception - Inherited
val message: Option<String>· Exception - Inherited
fun printStackTrace(): Unit· Throwable
A TLS failure with structured operation, TLS/backend, certificate-verification, and system-error details.
property verifyCode
source · line 48public
public val verifyCode: Long
get: public read-only
The certificate-verification result code reported by the backend.
property operation
source · line 36public
public val operation: String
get: public read-only
The handshake, transfer, verification, or configuration operation that failed.
property systemError
source · line 52public
public val systemError: Int
get: public read-only
The system error associated with the failed native operation.
property detail
source · line 56public
public val detail: String
get: public read-only
A human-readable description of the failure.
property code
source · line 44public
public val code: ULong
get: public read-only
The native TLS backend error code reported for the failure.
property kind
source · line 40public
public val kind: TlsFailureKind
get: public read-only
The structured category of the TLS failure.
constructor constructor
source · line 32public
constructor(public val operation: String, public val kind: TlsFailureKind, public val code: ULong, public val verifyCode: Long, public val systemError: Int, public val detail: String)
parameter code
source · line 44public
public val code: ULong
parameter detail
source · line 56public
public val detail: String
parameter operation
source · line 36public
public val operation: String
parameter systemError
source · line 52public
public val systemError: Int
parameter kind
source · line 40public
public val kind: TlsFailureKind
parameter verifyCode
source · line 48public
public val verifyCode: Long