Skip to main content

LedgerTransportError

LedgerTransportError​

enum LedgerTransportError

Error a LedgerTransport fails to exchange a command with.

LedgerTransportError.DeviceNotFound​

case DeviceNotFound

No Ledger device is connected.

LedgerTransportError.Other(reason:)​

case Other(reason: String)

Any other failure.

errorDescription​

var errorDescription: String? { get }

A localized message describing what error occurred.

failureReason​

var failureReason: String? { get }

A localized message describing the reason for the failure.

helpAnchor​

var helpAnchor: String? { get }

A localized message providing "help" text if the user requests help.

localizedDescription​

var localizedDescription: String { get }

Retrieve the localized description for this error.

recoverySuggestion​

var recoverySuggestion: String? { get }

A localized message describing how one might recover from the failure.

!=(_:_:)​

static func != (lhs: Self, rhs: Self) -> Bool

Returns a Boolean value indicating whether two values are not equal.

Inequality is the inverse of equality. For any values a and b, a != b implies that a == b is false.

This is the default implementation of the not-equal-to operator (!=) for any type that conforms to Equatable.

  • Parameters:
    • lhs: A value to compare.
    • rhs: Another value to compare.