MCPcopy
hub / github.com/rollup/rollup / error

Function error

src/utils/logs.ts:37–39  ·  view source on GitHub ↗
(base: Error | RollupLog)

Source from the content-addressed store, hash-verified

35} from './urls';
36
37export function error(base: Error | RollupLog): never {
38 throw base instanceof Error ? base : getRollupError(base);
39}
40
41export function getRollupError(base: RollupLog): Error & RollupLog {
42 augmentLogMessage(base);

Callers 15

throwNoFileSystemFunction · 0.90
getConfigFileExportFunction · 0.90
getConfigListFunction · 0.90
addModuleSourceMethod · 0.90
fetchModuleMethod · 0.90
loadEntryModuleMethod · 0.90
includeStatementsMethod · 0.90

Calls 1

getRollupErrorFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…