"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const BaseAPI_1 = require("../api/BaseAPI");
const APIError_1 = require("./APIError");
class GetAvailabilityError extends APIError_1.APIError {
    constructor(fromMonth, toMonth) {
        const fromDatePretty = fromMonth.format(BaseAPI_1.API_DATE_FORMAT);
        const toDatePretty = toMonth.format(BaseAPI_1.API_DATE_FORMAT);
        super(`Failed to load calendar data for: ${fromDatePretty} - ${toDatePretty}`);
        this.fromMonth = fromMonth;
    }
}
exports.default = GetAvailabilityError;
//# sourceMappingURL=GetAvailabilityError.js.map