Skip to main content
Version: 4.3

VaultError

An error that can be thrown by the plugin.

Usage#

try { vault.unlock();} catch(e) {  switch (e.code) {    case VaultErrorCodes.AuthFailed:      alert('You failed to authenticate!');      break;    case VaultErrorCodes.UserCanceledInteraction:      alert('You cancelled the face id prompt!');      break;    default:      throw e;  }}

Properties#

code#

message#