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

interface SentryCaptureContext {
    extraData?: Record<string, string | number | boolean>;
    level?: SentryEventLevel;
    tags?: Record<string, string>;
}

Properties

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

Additional data that should be sent with the exception.

The indicated level of severity of the captured exception.

tags?: Record<string, string>

Additional tags that should be sent with the exception.