MCPcopy
hub / github.com/vitejs/vite / ssrFixStacktrace

Method ssrFixStacktrace

packages/vite/src/node/server/index.ts:399–399  ·  view source on GitHub ↗

* Mutates the given SSR error by rewriting the stacktrace

(e: Error)

Source from the content-addressed store, hash-verified

397 * Mutates the given SSR error by rewriting the stacktrace
398 */
399 ssrFixStacktrace(e: Error): void
400 /**
401 * Triggers HMR for a module in the module graph. You can use the `server.moduleGraph`
402 * API to retrieve the module to be reloaded. If `hmr` is false, this is a no-op.

Callers 12

runTestFunction · 0.80
createServerFunction · 0.80
test-stacktrace.jsFile · 0.80
createServerFunction · 0.80
createServerFunction · 0.80
createServerFunction · 0.80
createServerFunction · 0.80
createServerFunction · 0.80
createServerFunction · 0.80
createServerFunction · 0.80
createServerFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected