VaultStorageError class sealed

A sealed class representing the various errors that can occur within the vault storage.

Using a sealed class allows for exhaustive pattern matching on error types, ensuring that all potential failure cases are handled explicitly.

Implemented types
Implementers

Properties

hashCode int
The hash code for this object.
no setterinherited
message String
A descriptive message explaining the nature of the error.
final
originalException Object?
The original exception or error object that was caught, if any.
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