stack

Home > @infiniteobjects/core-library-node > SentryErrorEmmitter

SentryErrorEmmitter type

SentryErrorEmmitter that should ultimately end up on Sentry. Must implement context in the Sentry.captureException() call

Signature:

export type SentryErrorEmmitter = (error: unknown, context?: Record<string, unknown>) => void;