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

Method error

packages/vite/src/node/server/pluginContainer.ts:910–917  ·  view source on GitHub ↗
(
    e: string | RollupError,
    position?: number | { column: number; line: number },
  )

Source from the content-addressed store, hash-verified

908 }
909
910 override error(
911 e: string | RollupError,
912 position?: number | { column: number; line: number },
913 ): never {
914 // error thrown here is caught by the transform middleware and passed on
915 // the error middleware.
916 throw this._formatLog(e, position)
917 }
918
919 private _formatLog<E extends RollupLog>(
920 e: string | E,

Callers

nothing calls this directly

Calls 1

_formatLogMethod · 0.95

Tested by

no test coverage detected