SwiftErrorTracker class
Central error tracking system
Constructors
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
-
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 Methods
-
addBreadcrumb(
Breadcrumb breadcrumb) → void - Add breadcrumb
-
captureException(
Object exception, StackTrace stackTrace, {ErrorSeverity severity = ErrorSeverity.error, Map< String, dynamic> ? extra}) → Future<void> - Capture exception
-
captureMessage(
String message, {ErrorSeverity severity = ErrorSeverity.info, Map< String, dynamic> ? extra}) → Future<void> - Capture message
-
clearBreadcrumbs(
) → void - Clear breadcrumbs
-
clearErrorHistory(
) → void - Clear error history
-
configure(
ErrorTrackingConfig config) → void - Configure error tracking
-
getBreadcrumbs(
) → List< Breadcrumb> - Get breadcrumbs
-
getErrorHistory(
) → List< ErrorEvent> - Get error history
-
getUserFriendlyMessage(
Object error) → String - Get user-friendly error message
-
setExtra(
String key, dynamic value) → void - Add extra context
-
setTag(
String key, String value) → void - Add tag
-
setUser(
{String? userId, String? email, Map< String, dynamic> ? extra}) → void - Set user context