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

x/sentry/index.d.ts>setUser

The Official Sentry Deno SDK
Latest
function setUser
import { setUser } from "https://deno.land/x/sentry@8.37.1/index.d.ts";

Updates user context information for future events.

Parameters

user: User | null

User context object to be set in the current context. Pass null to unset the user.