RxErrorConfig class
Error handling configuration
Constructors
- RxErrorConfig.new({bool logErrors = true, bool throwOnCriticalErrors = false, int maxRetries = 3, Duration retryDelay = const Duration(milliseconds: 100), void customLogger(RxException error)?})
-
const
Properties
- customLogger → void Function(RxException error)?
-
Custom error logger
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- logErrors → bool
-
Whether to log errors automatically
final
- maxRetries → int
-
Maximum number of retries for operations
final
- retryDelay → Duration
-
Default delay between retries
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- throwOnCriticalErrors → bool
-
Whether to throw on critical errors
final
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
Constants
- defaultConfig → const RxErrorConfig