9 lines
236 B
TypeScript
Raw Permalink Normal View History

2025-04-24 17:03:28 +08:00
/**
* Error subclass to use when an HTTP application error has occurred.
*/
export default class HTTPError extends Error {
code: string;
statusCode: number;
constructor(statusCode: number, message?: string | undefined);
}