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

x/sentry_deno/packages/browser/src/sdk.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/browser/src/sdk.ts";

Functions

Call close() on the current client, if there is one. See Client.close.

Call flush() on the current client, if there is one. See Client.flush.

This function is here to be API compatible with the loader.

The Sentry Browser SDK Client.

This is the getter for lastEventId.

This function is here to be API compatible with the loader.

Present the user with a report dialog.

Wrap code within a try/catch block so the SDK is able to capture errors.