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

Function invalidPipeArgumentError

packages/common/src/pipes/utils.ts:18–23  ·  view source on GitHub ↗
(type: Type<any>, value: Object)

Source from the content-addressed store, hash-verified

16import {RuntimeErrorCode} from '../errors';
17
18export function invalidPipeArgumentError(type: Type<any>, value: Object) {
19 return new RuntimeError(
20 RuntimeErrorCode.INVALID_PIPE_ARGUMENT,
21 ngDevMode && `InvalidPipeArgument: '${value}' for pipe '${stringify(type)}'`,
22 );
23}
24
25export function warnIfSignal(pipeName: string, value: unknown): void {
26 if (isSignal(value)) {

Callers 9

transformMethod · 0.90
transformMethod · 0.90
assertPipeArgumentFunction · 0.90
transformMethod · 0.90
_selectStrategyMethod · 0.90
transformMethod · 0.90
transformMethod · 0.90
transformMethod · 0.90
transformMethod · 0.90

Calls 1

stringifyFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…