http-error.d.ts 236 B

12345678
  1. /**
  2. * Error subclass to use when an HTTP application error has occurred.
  3. */
  4. export default class HTTPError extends Error {
  5. code: string;
  6. statusCode: number;
  7. constructor(statusCode: number, message?: string | undefined);
  8. }