UNPKG

@gabliam/web-core

Version:
14 lines (13 loc) 405 B
/** * Exception web error */ export declare class HttpException extends Error { private readonly response; private readonly statusCode; private readonly error?; private readonly otherFields; readonly message: any; constructor(response: string | object, statusCode: number, error?: string | undefined, otherFields?: {}); getJson(): string | object; getStatus(): number; }