Scoop API

scoop:scoop.tls:0.1.0

TlsException

class TlsException

source · line 32
public
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))

A TLS failure with structured operation, TLS/backend, certificate-verification, and system-error details.

property verifyCode

source · line 48
public
public val verifyCode: Long

get: public read-only

The certificate-verification result code reported by the backend.

property operation

source · line 36
public
public val operation: String

get: public read-only

The handshake, transfer, verification, or configuration operation that failed.

property systemError

source · line 52
public
public val systemError: Int

get: public read-only

The system error associated with the failed native operation.

property detail

source · line 56
public
public val detail: String

get: public read-only

A human-readable description of the failure.

property code

source · line 44
public
public val code: ULong

get: public read-only

The native TLS backend error code reported for the failure.

constructor constructor

source · line 32
public
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)