SignalErrorHandler class
Global error handler for signal operations.
This provides a centralized way to handle errors in reactive operations, similar to Riverpod's error handling.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
handleError(
Object error, StackTrace stackTrace) → void - Handles an error.
-
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
Static Properties
- instance → SignalErrorHandler?
-
The global error handler instance.
no setter
Static Methods
-
clearHandler(
) → void - Clears the global error handler.
-
setHandler(
void handler(Object error, StackTrace stackTrace)) → void - Sets the global error handler.