UNPKG

@sentry/nextjs

Version:
16 lines 485 B
type RequestInfo = { path: string; method: string; headers: Record<string, string | string[] | undefined>; }; type ErrorContext = { routerKind: string; routePath: string; routeType: string; }; /** * Reports errors passed to the the Next.js `onRequestError` instrumentation hook. */ export declare function captureRequestError(error: unknown, request: RequestInfo, errorContext: ErrorContext): void; export {}; //# sourceMappingURL=captureRequestError.d.ts.map