ObslyAsyncErrorCapture class
Enhanced async error capture system with granular controls
Properties
- config → AsyncErrorCaptureConfig?
-
Current configuration
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- isActive → bool
-
Whether error capture is active
no setter
-
onAsyncError
→ Stream<
AsyncError> -
Stream of async errors for external handling
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
configure(
AsyncErrorCaptureConfig config) → void - Configure and enable async error capture
-
disable(
) → void - Disable async error capture
-
enable(
) → void - Enable async error capture with current configuration
-
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 → ObslyAsyncErrorCapture
-
no setter
Static Methods
-
runWithAsyncErrorCapture<
T> (T callback(), {AsyncErrorCaptureConfig? config}) → T - Run a function with async error capture (Zone-based)