class CryptoException
source · line 6public
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))
- Supertype
Exception - Inherited
val message: Option<String>· Exception - Inherited
fun printStackTrace(): Unit· Throwable
Reports a native cryptographic operation failure, retaining its code and diagnostic detail.
constructor constructor
source · line 6public
constructor(public val operation: String, public val code: ULong, public val detail: String)
parameter code
source · line 14public
public val code: ULong
parameter detail
source · line 18public
public val detail: String
parameter operation
source · line 10public
public val operation: String
property code
source · line 14public
public val code: ULong
get: public read-only
The native backend's error code.
property detail
source · line 18public
public val detail: String
get: public read-only
The backend's human-readable diagnostic text.
property operation
source · line 10public
public val operation: String
get: public read-only
The operation being performed when the backend failed.