Protected_Attachments
Protected_Array of breadcrumbs.
Protected Optional_The client on this scope
Protected_Contexts
Protected_Callback list that will be called after applyToEvent.
Protected_Extra
Protected Optional_Fingerprint
Protected Optional_Severity
Protected_Flag if notifying is happening.
Protected_Propagation Context for distributed tracing
Protected Optional_Request Mode Session Status
Protected_Callback for client to receive scope changes.
Protected_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
Protected Optional_Session
Protected Optional_Span
Protected_Tags
Protected Optional_Transaction Name
Protected_User
Protected_This will be called on every set call.
Capture an exception for this scope.
The exception to capture.
Optionalhint: EventHintOptinal additional data to attach to the Sentry event.
the id of the captured Sentry event.
Capture a message for this scope.
The message to capture.
Optionallevel: SeverityLevelAn optional severity level to report the message with.
Optionalhint: EventHintOptional additional data to attach to the Sentry event.
the id of the captured message.
Clone this scope instance.
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.
Optionalname: stringStaticclone
Holds additional event information. Scope.applyToEvent will be called by the client before an event will be sent.