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

x/sentry/index.d.ts>captureException

The Official Sentry Deno SDK
Latest
function captureException
import { captureException } from "https://deno.land/x/sentry@8.39.0-beta.0/index.d.ts";

Captures an exception event and sends it to Sentry.

Parameters

exception: any

The exception to capture.

optional
hint: ExclusiveEventHintOrCaptureContext

Optional additional data to attach to the Sentry event.

Returns

string

the id of the captured Sentry event.