File size: 456 Bytes
473668f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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[];
}