MCPcopy Create free account
hub / github.com/angular/angular / _throwMissingValueAccessorError

Function _throwMissingValueAccessorError

packages/forms/src/directives/shared.ts:355–361  ·  view source on GitHub ↗
(dir: AbstractControlDirective)

Source from the content-addressed store, hash-verified

353}
354
355function _throwMissingValueAccessorError(dir: AbstractControlDirective) {
356 const loc = _describeControlLocation(dir);
357 throw new RuntimeError(
358 RuntimeErrorCode.NG_MISSING_VALUE_ACCESSOR,
359 `No value accessor for form control ${loc}.`,
360 );
361}
362
363function _throwInvalidValueAccessorError(dir: AbstractControlDirective) {
364 const loc = _describeControlLocation(dir);

Callers 1

Calls 1

_describeControlLocationFunction · 0.85

Tested by

no test coverage detected