Skip to main content
Module

x/sentry/index.d.ts>setContext

The Official Sentry Deno SDK
Go to Latest
function setContext
import { setContext } from "https://deno.land/x/sentry@8.0.0-beta.4/index.d.ts";

Sets context data with the given name.

Parameters

name: string

of the context

context: { [key: string]: any; } | null

Any kind of data. This data will be normalized.