For AI agents: the complete documentation index is available at /llms.txt, the full documentation bundle is available at /llms-full.txt, and this page is available as Markdown at /diagnostics/interfaces/SentryCaptureContext.md.

Interface: SentryCaptureContext experimental

Beta

与发送到 Sentry 的捕获异常相关的上下文信息。

Context relating to a captured exception that should be sent to Sentry.

Properties

extraData?

optional extraData?: Record<string, string | number | boolean>

Beta

Remarks

应与异常一起发送的附加数据。

Additional data that should be sent with the exception.


level?

optional level?: SentryEventLevel

Beta

Remarks

捕获异常的指示严重级别。

The indicated level of severity of the captured exception.


tags?

optional tags?: Record<string, string>

Beta

Remarks

应与异常一起发送的附加标签。

Additional tags that should be sent with the exception.