export interface PreviewError { type: | "runtime-error" | "unhandled-promise" | "console-error" | "resource-error" | "react-error"; message: string; stack?: string; lineNumber?: number; columnNumber?: number; fileName?: string; timestamp: string; errorType?: string; // For resource errors tagName?: string; src?: string; // For React errors reactVersion?: string; // For console errors args?: string[]; }