Next.js website for Rocky Mountain Vending company featuring: - Product catalog with Stripe integration - Service areas and parts pages - Admin dashboard with Clerk authentication - SEO optimized pages with JSON-LD structured data Co-authored-by: Cursor <cursoragent@cursor.com>
19 lines
786 B
Text
19 lines
786 B
Text
export type RequestErrorContext = {
|
|
routerKind: 'Pages Router' | 'App Router';
|
|
routePath: string;
|
|
routeType: 'render' | 'route' | 'action' | 'proxy';
|
|
renderSource?: 'react-server-components' | 'react-server-components-payload' | 'server-rendering';
|
|
revalidateReason: 'on-demand' | 'stale' | undefined;
|
|
};
|
|
export type InstrumentationOnRequestError = (error: unknown, errorRequest: Readonly<{
|
|
path: string;
|
|
method: string;
|
|
headers: NodeJS.Dict<string | string[]>;
|
|
}>, errorContext: Readonly<RequestErrorContext>) => void | Promise<void>;
|
|
export type InstrumentationModule = {
|
|
register?(): void;
|
|
onRequestError?: InstrumentationOnRequestError;
|
|
};
|
|
export declare namespace Instrumentation {
|
|
type onRequestError = InstrumentationOnRequestError;
|
|
}
|