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

Function _noControlError

packages/forms/src/directives/shared.ts:338–340  ·  view source on GitHub ↗
(dir: NgControl)

Source from the content-addressed store, hash-verified

336}
337
338function _noControlError(dir: NgControl) {
339 return _throwError(dir, 'There is no FormControl instance attached to form control element with');
340}
341
342function _throwError(dir: AbstractControlDirective, message: string): void {
343 const messageEnd = _describeControlLocation(dir);

Callers 1

noopFunction · 0.85

Calls 1

_throwErrorFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…