"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.HttpError = void 0;
/**
 * A HTTP error.
 */
class HttpError extends Error {
    constructor(message, statusCode = 400) {
        super(message);
        this.name = "HttpError";
        this.statusCode = statusCode;
    }
}
exports.HttpError = HttpError;
//# sourceMappingURL=HotHttpError.js.map