Enum crypto_vault::VaultError
[−]
[src]
pub enum VaultError { Base64Error(FromBase64Error), VaultEntrySchemaError(DecoderError), BadPasswordError, NoPasswordSpecifiedError, }
Various errors for vault operations
Variants
Base64Error | If the vault is corrupted, we may not be able to read the base64 encoded data |
VaultEntrySchemaError | This happens when the data in the vault is valid, but does not match the vault type |
BadPasswordError | When the decrypted data is not valid JSON |
NoPasswordSpecifiedError | When you attempt to encrypt a Vault that has no password set |