FrappeStorageException class
Exception thrown when storage operations fail
- Inheritance
-
- Object
- FrappeAuthException
- FrappeStorageException
Constructors
-
FrappeStorageException(String message, {String? code, dynamic originalError, StackTrace? originalStackTrace, Map<
String, dynamic> context = const {}, String? operation}) -
const
Properties
- code → String?
-
Machine-readable error code for programmatic handling
finalinherited
-
context
→ Map<
String, dynamic> -
Additional context data about the error
finalinherited
- friendlyMessage → String
-
Creates a user-friendly error message
no setteroverride
- hasCause → bool
-
Whether this exception was caused by another exception
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- message → String
-
Human-readable error message
finalinherited
- operation → String?
-
The storage operation that failed
final
- originalError → dynamic
-
Original error that caused this exception (if any)
finalinherited
- originalStackTrace → StackTrace?
-
Stack trace from the original error (if any)
finalinherited
- 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.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited