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.39.0-beta.0/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.