https://github.com/angular/angular
Raw File
Tip revision: e3b6e26565bcd03b259392c6676ce931e8b5be20 authored by Joey Perrott on 18 August 2021, 21:38:39 UTC
release: cut the v13.0.0-next.2 release (#43200)
Tip revision: e3b6e26
invalid_pipe_argument_error.ts
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */

import {Type, ɵstringify as stringify} from '@angular/core';

export function invalidPipeArgumentError(type: Type<any>, value: Object) {
  return Error(`InvalidPipeArgument: '${value}' for pipe '${stringify(type)}'`);
}
back to top