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>
13 lines
642 B
Text
13 lines
642 B
Text
import type { SupportedErrorEvent } from '../container/runtime-error/render-error';
|
|
import type { OriginalStackFrame } from '../../shared/stack-frame';
|
|
export type ReadyRuntimeError = {
|
|
id: number;
|
|
runtime: true;
|
|
error: Error & {
|
|
environmentName?: string;
|
|
};
|
|
frames: readonly OriginalStackFrame[] | (() => Promise<readonly OriginalStackFrame[]>);
|
|
type: 'runtime' | 'console' | 'recoverable';
|
|
};
|
|
export declare const useFrames: (error: ReadyRuntimeError | null) => readonly OriginalStackFrame[];
|
|
export declare function getErrorByType(event: SupportedErrorEvent, isAppDir: boolean): Promise<ReadyRuntimeError>;
|