oncall_error_tracking library
Classes
- BreadcrumbBuffer
- Ring buffer for breadcrumbs with a max capacity.
- BreadcrumbEntry
- A single breadcrumb entry.
- OnCallClient
- Main client for OnCall Error Tracking.
- OnCallEvent
- Represents an error/message event to be sent to the API.
- A NavigatorObserver that adds route-change breadcrumbs to OnCall.
- OnCallOptions
- Configuration options for the OnCall Error Tracking SDK.
- Scope
- Holds contextual data attached to every event.
Functions
-
installFlutterErrorHandler(
OnCallClient client) → void - Install a FlutterError.onError handler that reports errors to OnCall.
-
removeFlutterErrorHandler(
) → void - Remove the OnCall FlutterError handler and restore the previous one.
-
runWithOnCall(
OnCallClient client, void body()) → void - Run the app body inside a runZonedGuarded that catches uncaught async errors and reports them to OnCall.
Typedefs
- BeforeSendCallback = OnCallEvent? Function(OnCallEvent event)
- Callback type for filtering/modifying events before send.