Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/sentry_deno/packages/hub/src/exports.ts

Unofficial port of the Sentry SDK for JavaScript to Deno.
Latest
import * as sentryDeno from "https://deno.land/x/sentry_deno@v0.2.2/packages/hub/src/exports.ts";

Functions

Records a new breadcrumb which will be attached to future events.

Captures a manually created event and sends it to Sentry.

Captures an exception event and sends it to Sentry.

Captures a message event and sends it to Sentry.

Callback to set context information onto the scope.

Sets context data with the given name.

Set key:value that will be sent as extra data with the event.

Set an object that will be merged sent as extra data with the event.

Set key:value that will be sent as tags data with the event.

Set an object that will be merged sent as tags data with the event.

Updates user context information for future events.

Starts a new Transaction and returns it. This is the entry point to manual tracing instrumentation.

Creates a new scope with and executes the given operation within. The scope is automatically removed once the operation finishes or throws.