StorageInvalidatedException class final
The stored value exists but is permanently unusable.
Unlike AuthException this is NOT retryable: the underlying data or its encryption key is gone. Delete the storage (or simply write a new value) and re-provision the secret, typically by asking the user to sign in again.
- Inheritance
-
- Object
- BiometricVaultException
- StorageInvalidatedException
Constructors
- StorageInvalidatedException(StorageInvalidatedReason reason, String message)
-
Creates an invalidation failure with its typed
reason.const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- message → String
-
A human-readable description of the failure, suitable for logs.
finalinherited
- reason → StorageInvalidatedReason
-
What invalidated the storage; see StorageInvalidatedReason.
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