SecureStorageException class

The native secret store answered with an error: the Keychain refused or was locked, the keystore could not decrypt, the plugin channel is missing.

This is distinct from an absent entry, which a read answers with null. A caller that once took a failure for an absence regenerated the master key over the real one, and every safe became undecryptable; a failure is therefore always thrown, never flattened to null. The message names the operation and the entry, never a value.

Implemented types

Constructors

SecureStorageException(String operation, String key, Object cause)
Wraps cause, thrown by operation on key.

Properties

cause → Object
What the store or the plugin threw.
final
hashCode → int
The hash code for this object.
no setterinherited
key → String
The entry the operation targeted, or * for the whole store.
final
operation → String
The store operation that failed: read, write, delete, readAll, containsKey or verify.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
inherited