2025-11-05 17:04:23 -03:00

9 lines
236 B
TypeScript

/**
* 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);
}