MCPcopy Index your code
hub / github.com/rollup/rollup / error

Method error

src/Module.ts:428–433  ·  view source on GitHub ↗
(properties: RollupError, pos: number | undefined)

Source from the content-addressed store, hash-verified

426 }
427
428 error(properties: RollupError, pos: number | undefined): never {
429 if (pos !== undefined) {
430 this.addLocationToLogProps(properties, pos);
431 }
432 return error(properties);
433 }
434
435 // sum up the length of all ast nodes that are included
436 estimateSize(): number {

Callers 15

traceVariableMethod · 0.95
addImportMethod · 0.95
tryParseMethod · 0.95
onwarnFunction · 0.80
getBannerFunction · 0.80
writeFileFunction · 0.80
optionsFunction · 0.80
onLogFunction · 0.80

Calls 2

addLocationToLogPropsMethod · 0.95
errorFunction · 0.90

Tested by

no test coverage detected