NimbusCoreError

enum NimbusCoreError
extension NimbusCoreError : Equatable, Error, Hashable, LocalizedError, NimbusError, Sendable

Nimbus errors thrown by NimbusCore

  • Nimbus wasn’t initialized

    Declaration

    Swift

    case sdkNotInitialized
  • 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.

    Declaration

    Swift

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

    Parameters

    lhs

    A value to compare.

    rhs

    Another value to compare.

  • A localized message describing the reason for the failure.

    Declaration

    Swift

    @available(macOS, introduced: 10.10)
    @available(watchOS, introduced: 2.0)
    @available(iOS, introduced: 8.0)
    @available(tvOS, introduced: 9.0)
    var failureReason: String? { get }
  • A localized message providing “help” text if the user requests help.

    Declaration

    Swift

    @available(macOS, introduced: 10.10)
    @available(watchOS, introduced: 2.0)
    @available(iOS, introduced: 8.0)
    @available(tvOS, introduced: 9.0)
    var helpAnchor: String? { get }
  • Retrieve the localized description for this error.

    Declaration

    Swift

    @available(macOS, introduced: 10.10)
    @available(watchOS, introduced: 2.0)
    @available(iOS, introduced: 8.0)
    @available(tvOS, introduced: 9.0)
    var localizedDescription: String { get }
  • A localized message describing how one might recover from the failure.

    Declaration

    Swift

    @available(macOS, introduced: 10.10)
    @available(watchOS, introduced: 2.0)
    @available(iOS, introduced: 8.0)
    @available(tvOS, introduced: 9.0)
    var recoverySuggestion: String? { get }