import { Scope } from "https://deno.land/x/sentry@7.100.1/index.mjs";
Holds additional event information. Scope.applyToEvent will be called by the client before an event will be sent.
Properties
Callback for client to receive scope changes.
Methods
Add internal on change listener. Used for sub SDKs that need to store the scope.
Applies data from the scope to the event and runs all event processors on it.
Captures a manually created event for this scope and sends it to Sentry.
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 the Transaction
attached to the scope (if there is one).
Add data which will be accessible during event processing but won't get sent to Sentry
Sets the transaction name on the scope for future events.