AsyncErrorCaptureConfig class
Configuration for async error capture
Constructors
- AsyncErrorCaptureConfig({bool captureGlobalZoneErrors = true, bool captureIsolateErrors = false, bool captureUnhandledAsyncErrors = true, void customErrorHandler(Object error, StackTrace stackTrace)?, bool preventConflicts = true})
-
const
Properties
- captureGlobalZoneErrors → bool
-
Whether to capture errors globally via Zone
final
- captureIsolateErrors → bool
-
Whether to capture isolate errors
final
- captureUnhandledAsyncErrors → bool
-
Whether to capture unhandled async errors
final
- customErrorHandler → void Function(Object error, StackTrace stackTrace)?
-
Custom error handler (optional)
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- preventConflicts → bool
-
Whether to prevent conflicts with other error reporting systems
final
- 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