import { HeadersType } from '../declarations.js'; import { ErrorOptions, RuntimeError } from '@stone-js/core'; /** * Class representing an HttpError. * * @author Mr. Stone */ export declare class HttpError extends RuntimeError { readonly statusCode: number; readonly headers: HeadersType; readonly statusMessage: string; /** * Create an HttpError. * * @param message - The message to log. * @param options - The error options. */ constructor(message: string, statusCode?: number, headers?: HeadersType, options?: ErrorOptions); }