Home / Type/ ErrorPayload Type — vite Architecture

ErrorPayload Type — vite Architecture

Architecture documentation for the ErrorPayload type/interface in hmrPayload.d.ts from the vite codebase.

Entity Profile

Dependency Diagram

graph TD
  7f493bf3_7a4a_03c2_2a78_6c0a02e6b630["ErrorPayload"]
  811fbe9d_f62d_f86c_1173_6621e1b17f05["hmrPayload.d.ts"]
  7f493bf3_7a4a_03c2_2a78_6c0a02e6b630 -->|defined in| 811fbe9d_f62d_f86c_1173_6621e1b17f05
  style 7f493bf3_7a4a_03c2_2a78_6c0a02e6b630 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/vite/types/hmrPayload.d.ts lines 64–80

export interface ErrorPayload {
  type: 'error'
  err: {
    [name: string]: any
    message: string
    stack: string
    id?: string
    frame?: string
    plugin?: string
    pluginCode?: string
    loc?: {
      file?: string
      line: number
      column: number
    }
  }
}

Frequently Asked Questions

What is the ErrorPayload type?
ErrorPayload is a type/interface in the vite codebase, defined in packages/vite/types/hmrPayload.d.ts.
Where is ErrorPayload defined?
ErrorPayload is defined in packages/vite/types/hmrPayload.d.ts at line 64.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free