MCPcopy Index your code
hub / github.com/angular/angular / _throwError

Function _throwError

packages/forms/src/directives/shared.ts:342–345  ·  view source on GitHub ↗
(dir: AbstractControlDirective, message: string)

Source from the content-addressed store, hash-verified

340}
341
342function _throwError(dir: AbstractControlDirective, message: string): void {
343 const messageEnd = _describeControlLocation(dir);
344 throw new Error(`${message} ${messageEnd}`);
345}
346
347function _describeControlLocation(dir: AbstractControlDirective): string {
348 const path = dir.path;

Callers 4

setUpFormContainerFunction · 0.85
_noControlErrorFunction · 0.85
selectValueAccessorFunction · 0.85

Calls 1

_describeControlLocationFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…