import { init } from "https://deno.land/x/sentry_deno@v0.2.2/main.ts";
The Sentry Browser SDK Client.
To use this SDK, call the init function as early as possible when loading the web page. To set context information or send manual events, use the provided methods.
Examples
Example 2
Example 2
import { configureScope } from '@sentry/browser';
configureScope((scope: Scope) => {
scope.setExtra({ battery: 0.7 });
scope.setTag({ user_mode: 'admin' });
scope.setUser({ id: '4711' });
});
Parameters
optional
options: BrowserOptions = [UNSUPPORTED]