Skip to main content
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.109.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