9 lines
230 B
TypeScript
9 lines
230 B
TypeScript
export declare class HTTPError extends Error {
|
|
statusCode: number;
|
|
location?: string;
|
|
constructor({ status, message, location, }: {
|
|
status: number;
|
|
message: string;
|
|
location?: string;
|
|
});
|
|
}
|