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

Method error

packages/vite/src/node/baseEnvironment.ts:88–93  ·  view source on GitHub ↗
(msg, opts)

Source from the content-addressed store, hash-verified

86 })
87 },
88 error(msg, opts) {
89 return topLevelConfig.logger.error(msg, {
90 ...opts,
91 environment: colors.red(environment),
92 })
93 },
94 clearScreen(type) {
95 return topLevelConfig.logger.clearScreen(type)
96 },

Callers

nothing calls this directly

Calls 1

errorMethod · 0.65

Tested by

no test coverage detected