Skip to main content
Module

x/sentry/index.d.ts>captureException

The Official Sentry Deno SDK
Go to Latest
function captureException
import { captureException } from "https://deno.land/x/sentry@7.77.0/index.d.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.