Skip to main content
Module

x/sentry_deno/main.ts>BrowserClient

Unofficial port of the Sentry SDK for JavaScript to Deno.
Latest
class BrowserClient
extends BaseClient<BrowserClientOptions>
import { BrowserClient } from "https://deno.land/x/sentry_deno@v0.2.2/main.ts";

The Sentry Browser SDK Client.

Constructors

new
BrowserClient(options: BrowserClientOptions)

Creates a new Browser SDK instance.

Methods

private
_flushOutcomes(): void

Sends client reports as an envelope.

protected
_prepareEvent(
event: Event,
hint: EventHint,
scope?: Scope,
): PromiseLike<Event | null>
eventFromException(exception: unknown, hint?: EventHint): PromiseLike<Event>
eventFromMessage(
message: string,
hint?: EventHint,
): PromiseLike<Event>
sendEvent(event: Event, hint?: EventHint): void