Skip to main content
  • Snap

snap_trackError

Description

Handler for the snap_trackError method.

Parameters

error

{ name: string; message: string; stack: string | null; cause: TrackableError | null }

The error object to track.

Returns

string

The result returned by the snap_trackEvent method. This is the ID of the tracked error, as returned by the Sentry instance in the client.