AngularSentry class

Report any error happening inside Angular scope

Listen to Logger.root record to build Breadcrumbs can be disable via AngularSentry constructor

Constructors

AngularSentry({bool disableBreadcrumbs = false})

Properties

disableBreadcrumbs bool
final
hashCode int
The hash code for this object.
no setterinherited
log → Logger
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

call(dynamic exception, [dynamic stackTrace, String? reason]) → void
Handles an error or exception caught at runtime.
capture(dynamic exception, [dynamic stackTrace, String? reason]) → void
dispose() → void
logError(dynamic exception, [dynamic stackTrace, String? reason]) → void
Log the catched error using Logging
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
transformEvent(SentryEvent e) SentryEvent
can be override to transform sentry report adding tags or extra for example

Operators

operator ==(Object other) bool
The equality operator.
inherited