2016-05-31 15:22:59 -07:00
|
|
|
import {BaseException} from '../facade/exceptions';
|
2016-06-08 16:38:52 -07:00
|
|
|
import {Type, stringify} from '../facade/lang';
|
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
|
|
|
}
|
|
|
|
|
}
|