MCPcopy
hub / github.com/angular/angular-cli / addError

Function addError

packages/ngtools/webpack/src/ivy/diagnostics.ts:34–36  ·  view source on GitHub ↗
(compilation: Compilation, message: string)

Source from the content-addressed store, hash-verified

32}
33
34export function addError(compilation: Compilation, message: string): void {
35 compilation.errors.push(new compilation.compiler.webpack.WebpackError(message));
36}

Callers 3

_compileMethod · 0.90
applyMethod · 0.90

Calls 1

pushMethod · 0.45

Tested by

no test coverage detected