Skip to content

onRequestError

const onRequestError: (error, request, errorContext) => void = Sentry.captureRequestError

Defined in: instrumentation.ts:56

Re-export of Sentry request error handler for Next.js instrumentation wiring.

Reports errors passed to the the Next.js onRequestError instrumentation hook.

unknown

RequestInfo

ErrorContext

void