UNPKG

typescript-express-starter

Version:
13 lines (10 loc) 286 B
import { HttpError } from 'routing-controllers'; export class HttpException extends HttpError { public status: number; public message: string; constructor(status: number, message: string) { super(status, message); this.status = status; this.message = message; } }