"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.WebApiError = void 0;
class WebApiError extends Error {
    constructor(message, statusCode, responseMessage) {
        super(message);
        this.name = "WebApiError";
        Object.setPrototypeOf(this, new.target.prototype);
        this.statusCode = statusCode;
        this.responseMessage = responseMessage;
    }
}
exports.WebApiError = WebApiError;
//# sourceMappingURL=web-api-error.js.map