PendingOutOfBandOperationsError

public enum PendingOutOfBandOperationsError : MobileAuthenticationClientError
extension PendingOutOfBandOperationsError: LocalizedError

The error that can occur with the PendingOutOfBandOperations operation.

Requires

iOS platform
  • A network error occurred.

    Declaration

    Swift

    case NetworkError(server: any Server, cause: Error? = nil)

    Parameters

    server

    The server where the error occurred.

    cause

    The underlying error that is related to the error occurred.

  • The clocks on the mobile and on the server are too apart and the server refused to validate the JWS. You can ask the user to verify that the device clock is correctly set.

    Declaration

    Swift

    case ClockSkewTooBig(server: any Server, cause: Error? = nil)

    Parameters

    server

    The server where the error occurred.

    cause

    The underlying error that is related to the error occurred.

  • The backend does not support the retrieval of out-of-band operations. The backend must be running nevisFIDO 7.24.02 or later and the Get Device Out-of-Band Operations endpoint must be accessible.

    Declaration

    Swift

    case OperationNotSupportedByBackend(server: any Server, cause: Error? = nil)

    Parameters

    server

    The server where the error occurred.

    cause

    The underlying error that is related to the error occurred.

  • The iOS device has no passcode set.

    Declaration

    Swift

    case NoDeviceLockError
  • Unknown error, handling not categorized error cases.

    Requires

    iOS platform

    Declaration

    Swift

    case Unknown(server: (any Server)? = nil, message: String? = nil, cause: Error? = nil)

    Parameters

    server

    The server where the error occurred.

    message

    Additional information about the error.

    cause

    The underlying error that is related to the error occurred.

Localized descriptions

  • A message describing what error occurred.

    Declaration

    Swift

    public var errorDescription: String? { get }