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

x/sentry/index.mjs>withScope

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

Set the given scope as the active scope in the callback.

Parameters

scope: Scope$1 | undefined
callback: (scope: Scope$1) => T