import { Scope } from "https://deno.land/x/sentry@7.120.0/index.mjs";
Holds additional event information. Scope.applyToEvent will be called by the client before an event will be sent.
Properties
Array of breadcrumbs.
Severity
Callback for client to receive scope changes.
A place to stash data which is needed at some point in the SDK's event processing pipeline but which shouldn't get sent to Sentry
Session
Span
User
Methods
This will be called on every set call.
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.
Capture an exception for this scope.
Capture a message for this scope.
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).
Update the client on the scope.
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.