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

x/sentry/index.mjs>Hub#bindClient

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

Use initAndBind() directly, or setCurrentClient() and/or client.init() instead.

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

This binds the given client to the current scope.

Parameters

optional
client: Client

An SDK client (client) instance.