Skip to main content
Version: 5.0

DeviceErrorCodes

The meaning of the error code in the thrown DeviceError.

Enumeration members

AuthFailed

User authentication failed.

Constant

4

BiometricsLockedOut

Biometrics have been locked out, usually because of too many failed attempts.

Constant

5

BiometricsNotEnabled

The operation failed because biometric authentication is not enabled. This can occur when biometrics is not supported by the device or when biometrics has not been configured for the device or vault.

Constant

6

InvalidArguments

The operation failed because the some of the vault provided arguments were invalid.

Constant

1

SecurityNotAvailable

Biometric security is unavailable due to a passcode not being set up at the system level. In order to use biometric identification on the device a system level passcode must be set up by the user.

Constant

3

Unknown

An unknown error happened.

Constant

0

UserCanceledInteraction

The user cancelled the native authentication dialog.

Note: On iOS, this error code will also be thrown in the event that the native authentication dialog fails as a result of too many failed attempts. The user will be forced to cancel the dialog, triggering this error code.

Constant

2