Early execution
The message to add to the breadcrumb.
Optionalcategory: string
The category of the breadcrumb.
Adds a breadcrumb to the next Sentry error reported. This can be useful for understanding a "trail" of events leading up to an error. See Sentry documentation for more details: https://docs.sentry.io/product/issues/issue-details/breadcrumbs/
Early execution
Adds a tag to the Sentry session. See Sentry documentation for more details: https://docs.sentry.io/platforms/javascript/enriching-events/tags/
Early execution
OptionalcaptureContext: SentryCaptureContextCaptures an exception event and send it to Sentry. Note that
you can pass not only Error objects, but also other types
of thrown objects - in that case, an attempt will be made to
serialize the object for you, and stack traces are likely to
be missing. See Sentry documentation for more details:
https://docs.sentry.io/platforms/javascript/apis/#capturing-events
Early execution
All contexts that have been added to the session, keyed by context name.
Gets all contexts that have been added to the Sentry session. See Sentry documentation for more details: https://develop.sentry.dev/sdk/foundations/envelopes/event-payloads/contexts/
Early execution
Gets the list of all session tags. See Sentry documentation for more details: https://docs.sentry.io/platforms/javascript/enriching-events/tags/
Early execution
Early execution
Removes a tag to the Sentry session. See Sentry documentation for more details: https://docs.sentry.io/platforms/javascript/enriching-events/tags/
Early execution
The name of the context.
Optionalcontext: Record<string, boolean | number | string>
The key/value data of the context, or undefined to remove
the context. Include a type key to specify the Sentry
context type when it differs from the context name.
Sets a named context on the Sentry session. Contexts are sent with every subsequent Sentry event and are useful for attaching structured data about the current state of the game or script. If a context with the same name already exists, it is replaced. If no context value is provided, the named context is removed. See Sentry documentation for more details: https://develop.sentry.dev/sdk/foundations/envelopes/event-payloads/contexts/
A class that allows hooking up reporting to Sentry. See https://sentry.io/ for more information.