Files
Angular-Docs-Cn/modules/angular2/src/common/pipes/invalid_pipe_argument_exception.ts
T

9 lines
326 B
TypeScript

import {Type, stringify} from 'angular2/src/facade/lang';
import {BaseException, WrappedException} from 'angular2/src/facade/exceptions';
export class InvalidPipeArgumentException extends BaseException {
constructor(type: Type, value: Object) {
super(`Invalid argument '${value}' for pipe '${stringify(type)}'`);
}
}