17 lines
492 B
TypeScript
17 lines
492 B
TypeScript
/**
|
|
* @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
|
|
*/
|
|
|
|
import {BaseException} from '../facade/exceptions';
|
|
import {Type, stringify} from '../facade/lang';
|
|
|
|
export class InvalidPipeArgumentException extends BaseException {
|
|
constructor(type: Type, value: Object) {
|
|
super(`Invalid argument '${value}' for pipe '${stringify(type)}'`);
|
|
}
|
|
}
|