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

x/sentry/index.d.ts>Scope#captureException

The Official Sentry Deno SDK
Go to Latest
method Scope.prototype.captureException
import { Scope } from "https://deno.land/x/sentry@7.100.0/index.d.ts";

Capture an exception for this scope.

Parameters

exception: unknown

The exception to capture.

optional
hint: EventHint

Optinal additional data to attach to the Sentry event.

Returns

string

the id of the captured Sentry event.