Skip to main content

IntentError

IntentError​

enum IntentError

Intent errors.

IntentError.AppId(message:)​

case AppId(message: String)

Invalid AppId for Intent

IntentError.Bytes(message:)​

case Bytes(message: String)

Invalid bytes for Intent

IntentError.Hex(message:)​

case Hex(message: String)

Invalid hex string for Intent

IntentError.Scope(message:)​

case Scope(message: String)

Invalid Scope for Intent

IntentError.Version(message:)​

case Version(message: String)

Invalid Version for Intent

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.