Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/sentry_deno/packages/browser/src/index.ts>captureException

Unofficial port of the Sentry SDK for JavaScript to Deno.
Latest
function captureException
import { captureException } from "https://deno.land/x/sentry_deno@v0.2.2/packages/browser/src/index.ts";

Captures an exception event and sends it to Sentry.

Parameters

exception: any

An exception-like object.

optional
captureContext: CaptureContext

Additional scope data to apply to exception event.

Returns

ReturnType<Hub["captureException"]>

The generated eventId.