The meaning of the error code in the thrown DeviceError.
User authentication failed.
Biometrics have been locked out, usually because of too many failed attempts.
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.
The operation failed because the some of the vault provided arguments were invalid.
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.
An unknown error happened.
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.