2016-06-23 09:47:54 -07:00
|
|
|
/**
|
|
|
|
|
* @license
|
|
|
|
|
* Copyright Google Inc. 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
|
|
|
|
|
*/
|
|
|
|
|
|
2017-03-02 09:37:01 -08:00
|
|
|
import {Type, ɵstringify as stringify} from '@angular/core';
|
2015-08-07 11:41:38 -07:00
|
|
|
|
2017-01-27 13:19:00 -08:00
|
|
|
export function invalidPipeArgumentError(type: Type<any>, value: Object) {
|
|
|
|
|
return Error(`InvalidPipeArgument: '${value}' for pipe '${stringify(type)}'`);
|
2015-08-07 11:41:38 -07:00
|
|
|
}
|