@jeaks03/overseer
Version:
Just another TypeScript Back-End framework
9 lines (8 loc) • 322 B
TypeScript
import { ServerResponse } from "http";
import { Response } from "../routes/response";
export declare class HttpError extends Error {
response: Response;
constructor(response: Response);
static handleServerError(serverResponse: ServerResponse, e: any): void;
handle(serverResponse: ServerResponse): void;
}