SodotException

class SodotException(message: String, val code: Int = -1, cause: Throwable? = null) : Exception

Exception thrown by the Sodot SDK when an error occurs during cryptographic operations.

Contains information about the error, including a message, error code, and optional cause.

Constructors

Link copied to clipboard
constructor(message: String, code: Int = -1, cause: Throwable? = null)

Properties

Link copied to clipboard
open val cause: Throwable?
Link copied to clipboard
val code: Int

An error code indicating the specific error type (-1 by default)

Link copied to clipboard
open val message: String?