Skip to main content
Module

x/sentry/index.mjs>setContext

The Official Sentry Deno SDK
Go to Latest
function setContext
import { setContext } from "https://deno.land/x/sentry@7.109.0/index.mjs";

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.

Returns

ReturnType<Hub["setContext"]>