LedgerException
sealed class LedgerException : Exception
Error returned when communicating with a Ledger device fails.
Inheritors
| UserRefused |
| DeviceLocked |
| DeviceNotReady |
| DeviceNotFound |
| AppNotFound |
| BlindSigningDisabled |
| KeyMismatch |
| Other |
Types
| Name | Summary |
|---|---|
| AppNotFound | class AppNotFound(message: String) : LedgerException The IOTA app is not installed on the device. |
| BlindSigningDisabled | class BlindSigningDisabled(message: String) : LedgerException The IOTA app cannot clear-sign the transaction, and blind signing is disabled in its settings. |
| DeviceLocked | class DeviceLocked(message: String) : LedgerException The device is locked. |
| DeviceNotFound | class DeviceNotFound(message: String) : LedgerException No Ledger device is connected. |
| DeviceNotReady | class DeviceNotReady(message: String) : LedgerException The device runs another app than the IOTA app. |
| ErrorHandler | object ErrorHandler : UniffiRustCallStatusErrorHandler<LedgerException> |
| KeyMismatch | class KeyMismatch(message: String) : LedgerException The device returns a different key for the signer's derivation path than when the signer was created, because another device is connected or the device was unlocked with a different seed or passphrase. |
| Other | class Other(message: String) : LedgerException Any other failure. |
| UserRefused | class UserRefused(message: String) : LedgerException The user rejected the request on the device. |
Properties
| Name | Summary |
|---|---|
| cause | open val cause: Throwable? |
| message | open val message: String? |
AppNotFound
class AppNotFound(message: String) : LedgerException
The IOTA app is not installed on the device.
Constructors
| AppNotFound | constructor(message: String) |
Properties
| Name | Summary |
|---|---|
| cause | open val cause: Throwable? |
| message | open val message: String? |
BlindSigningDisabled
class BlindSigningDisabled(message: String) : LedgerException
The IOTA app cannot clear-sign the transaction, and blind signing is disabled in its settings.
Constructors
| BlindSigningDisabled | constructor(message: String) |
Properties
| Name | Summary |
|---|---|
| cause | open val cause: Throwable? |
| message | open val message: String? |
DeviceLocked
class DeviceLocked(message: String) : LedgerException
The device is locked.
Constructors
| DeviceLocked | constructor(message: String) |
Properties
| Name | Summary |
|---|---|
| cause | open val cause: Throwable? |
| message | open val message: String? |
DeviceNotFound
class DeviceNotFound(message: String) : LedgerException
No Ledger device is connected.
Constructors
| DeviceNotFound | constructor(message: String) |
Properties
| Name | Summary |
|---|---|
| cause | open val cause: Throwable? |
| message | open val message: String? |
DeviceNotReady
class DeviceNotReady(message: String) : LedgerException
The device runs another app than the IOTA app.
Constructors
| DeviceNotReady | constructor(message: String) |
Properties
| Name | Summary |
|---|---|
| cause | open val cause: Throwable? |
| message | open val message: String? |
ErrorHandler
object ErrorHandler : UniffiRustCallStatusErrorHandler<LedgerException>
Functions
| Name | Summary |
|---|---|
| lift | open override fun lift(error_buf: RustBuffer.ByValue): LedgerException |
KeyMismatch
class KeyMismatch(message: String) : LedgerException
The device returns a different key for the signer's derivation path than when the signer was created, because another device is connected or the device was unlocked with a different seed or passphrase.
Constructors
| KeyMismatch | constructor(message: String) |
Properties
| Name | Summary |
|---|---|
| cause | open val cause: Throwable? |
| message | open val message: String? |
Other
class Other(message: String) : LedgerException
Any other failure.
Constructors
| Other | constructor(message: String) |
Properties
| Name | Summary |
|---|---|
| cause | open val cause: Throwable? |
| message | open val message: String? |
UserRefused
class UserRefused(message: String) : LedgerException
The user rejected the request on the device.
Constructors
| UserRefused | constructor(message: String) |
Properties
| Name | Summary |
|---|---|
| cause | open val cause: Throwable? |
| message | open val message: String? |