@gabliam/web-core
Version:
Gabliam plugin for add web-core
14 lines (13 loc) • 405 B
TypeScript
/**
* 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;
}