ErrorType
public enum ErrorType
The list of errors that can happen in the SDK.
-
An error condition not described by the other errors. Underlying error might be populated.
Declaration
Swift
case generic
-
Errors are thrown during initialization phase of the SDK.
Declaration
Swift
case failedSdkInitialization
-
The response sent by the NEVIS Mobile Authentication backend does not contain any UAF request.
Declaration
Swift
case missingUAFRequest
-
The response sent by the NEVIS Mobile Authentication backend does not contain an extension that provides a user session.
Declaration
Swift
case missingUserSessionID
-
The UAF operation failed at the NEVIS Mobile Authentication backend side with a given status code.
Declaration
Swift
case failedOperation
-
The nma data sent can not be decoded, or does not contain the required fields.
Declaration
Swift
case malformedNmaData
-
The encrypted contents of the out-of-band payload could not be decrypted. The can occur in the case where the user is trying to redeem a token that was generated for another mobile device: a malicious user trying to authenticate using the QR code generated by another user, or a user with multiple devices trying to scan the QR using the wrong device.
Declaration
Swift
case decryptingOutOfBandPayloadError
-
An operation expected a Push notification token, but no value was provided.
Declaration
Swift
case missingPushNotificationToken
-
A Dispatch Target cannot be created or updated.
Declaration
Swift
case invalidDispatchTarget
-
The operation cannot be processed because there is no registered user.
Declaration
Swift
case noRegisteredUser
-
The decoding of an encoded
NevisServerPinningPolicy
failed.Declaration
Swift
case serverPinningPolicyDecodingError
-
A networking error that happened while communicating with the Server.
Declaration
Swift
case networking
-
A FIDOError occurred during an operation. The thrown FIDOError is found as an underlying error.
Declaration
Swift
case fidoError