2016-04-25 21:58:48 -07:00
|
|
|
import {Type, stringify} from 'angular2/src/facade/lang';
|
2015-11-06 17:34:07 -08:00
|
|
|
import {BaseException, WrappedException} from 'angular2/src/facade/exceptions';
|
2015-08-07 11:41:38 -07:00
|
|
|
|
|
|
|
|
export class InvalidPipeArgumentException extends BaseException {
|
|
|
|
|
constructor(type: Type, value: Object) {
|
2015-12-08 12:06:14 -08:00
|
|
|
super(`Invalid argument '${value}' for pipe '${stringify(type)}'`);
|
2015-08-07 11:41:38 -07:00
|
|
|
}
|
|
|
|
|
}
|