Skip to main content

LedgerTransportException

sealed class LedgerTransportException : Exception

Error a LedgerTransport fails to exchange a command with.

Inheritors​

DeviceNotFound
Other

Types​

NameSummary
DeviceNotFoundclass DeviceNotFound : LedgerTransportException
No Ledger device is connected.
ErrorHandlerobject ErrorHandler : UniffiRustCallStatusErrorHandler<LedgerTransportException>
Otherclass Other(val reason: String) : LedgerTransportException
Any other failure.

Properties​

NameSummary
causeopen val cause: Throwable?
messageopen val message: String?

DeviceNotFound​

class DeviceNotFound : LedgerTransportException

No Ledger device is connected.

Constructors​

DeviceNotFoundconstructor()

Properties​

NameSummary
causeopen val cause: Throwable?
messageopen override val message: String

ErrorHandler​

object ErrorHandler : UniffiRustCallStatusErrorHandler<LedgerTransportException>

Functions​

NameSummary
liftopen override fun lift(error_buf: RustBuffer.ByValue): LedgerTransportException

Other​

class Other(val reason: String) : LedgerTransportException

Any other failure.

Constructors​

Otherconstructor(reason: String)

Properties​

NameSummary
causeopen val cause: Throwable?
messageopen override val message: String
reasonval reason: String