StorageException class

A unified exception thrown by all storage operations in baiomy-local_storage. Wraps the original error and stack trace for easier debugging.

Implemented types

Constructors

StorageException({required String message, String? key, Object? cause, StackTrace? stackTrace})
const

Properties

cause Object?
The original exception that caused this error.
final
hashCode int
The hash code for this object.
no setterinherited
key String?
The storage key involved in the failed operation, if applicable.
final
message String
Human-readable description of what went wrong.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stackTrace StackTrace?
The original stack trace, if available.
final

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