DeviceInformationChangeError

public enum DeviceInformationChangeError : MobileAuthenticationClientError
extension DeviceInformationChangeError: LocalizedError

The error that can occur with operations related to a DeviceInformationChange.

  • The device information to be updated could not be found.

    Declaration

    Swift

    case NotFound(cause: Error? = nil)

    Parameters

    cause

    The underlying error that is related to the error occurred.

  • There is already a device information with the provided name. All the device information names of a given user must be unique.

    Declaration

    Swift

    case NameAlreadyExists(cause: Error? = nil)

    Parameters

    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(cause: Error? = nil)

    Parameters

    cause

    The underlying error that is related to the error occurred.

  • A network error occurred.

    Declaration

    Swift

    case NetworkError(cause: Error? = nil)

    Parameters

    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(message: String? = nil, cause: Error? = nil)

    Parameters

    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 }