RunZonedGuardedIntegration class
Integration that runs runner function within runZonedGuarded
and capture
errors on the runZonedGuarded
error handler.
See https://api.dart.dev/stable/dart-async/runZonedGuarded.html
This integration also records calls to print()
as Breadcrumbs.
This can be configured with SentryOptions.enablePrintBreadcrumbs
- Inheritance
-
- Object
- Integration<
SentryOptions> - RunZonedGuardedIntegration
Constructors
- RunZonedGuardedIntegration(RunZonedGuardedRunner _runner, RunZonedGuardedOnError? _onError)
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
-
call(
Hub hub, SentryOptions options) → Future< void> -
A Callable method for the Integration interface
override
-
captureError(
Hub hub, SentryOptions options, Object exception, StackTrace stackTrace) → Future< void> -
close(
) → FutureOr< void> -
NoOp by default : only closeable integrations need to override
inherited
-
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