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

x/sentry/index.d.ts>Scope#getClient

The Official Sentry Deno SDK
Go to Latest
method Scope.prototype.getClient
import { Scope } from "https://deno.land/x/sentry@7.120.0/index.d.ts";

Get the client assigned to this scope.

It is generally recommended to use the global function Sentry.getClient() instead, unless you know what you are doing.

Returns

Client | undefined