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

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

The Official Sentry Deno SDK
Go to Latest
method Scope.prototype.applyToEvent
Deprecated
Deprecated

Use applyScopeDataToEvent() directly

import { Scope } from "https://deno.land/x/sentry@7.117.0/index.d.ts";

Applies data from the scope to the event and runs all event processors on it.

Parameters

event: Event

Event

optional
hint: EventHint

Object containing additional information about the original exception, for use by the event processors.

optional
additionalEventProcessors: EventProcessor[]

Returns

PromiseLike<Event | null>