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

x/sentry/index.mjs>Hub#setContext

The Official Sentry Deno SDK
Go to Latest
method Hub.prototype.setContext
Deprecated
Deprecated

Use Sentry.setContext() instead.

import { Hub } from "https://deno.land/x/sentry@7.120.0/index.mjs";

Parameters

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