VaultError
An error that can be thrown by the plugin.
Usage
_14try {_14 vault.unlock();_14} catch(e) {_14 switch (e.code) {_14 case VaultErrorCodes.AuthFailed:_14 alert('You failed to authenticate!');_14 break;_14 case VaultErrorCodes.UserCanceledInteraction:_14 alert('You cancelled the face id prompt!');_14 break;_14 default:_14 throw e;_14 }_14}