2016-04-28 17:50:03 -07:00
|
|
|
import {Type, stringify} from '../../src/facade/lang';
|
|
|
|
|
import {BaseException} from '../../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
|
|
|
}
|
|
|
|
|
}
|