12 lines
275 B
TypeScript
Raw Normal View History

2019-07-09 14:52:36 +05:30
export class HttpException extends Error {
public status: number;
public message: any;
public error: any;
constructor(status: number, message: any, error?: any) {
super(message);
this.status = status;
this.message = message;
this.error = error;
}
}