Scoop API

scoop:scoop.crypto:0.1.0

CryptoException

class CryptoException

source · line 6
public
public class CryptoException public constructor(
    /**
     * The operation being performed when the backend failed.
     */
    public val operation: String,
    /**
     * The native backend's error code.
     */
    public val code: ULong,
    /**
     * The backend's human-readable diagnostic text.
     */
    public val detail: String
) : Exception(Some(operation + ": " + detail))

Reports a native cryptographic operation failure, retaining its code and diagnostic detail.

property code

source · line 14
public
public val code: ULong

get: public read-only

The native backend's error code.

property detail

source · line 18
public
public val detail: String

get: public read-only

The backend's human-readable diagnostic text.

property operation

source · line 10
public
public val operation: String

get: public read-only

The operation being performed when the backend failed.