node-tfe
Version:
A Typescript Client for Terraform Cloud/Enterprise V2 API
31 lines • 2.19 kB
JavaScript
;
var __extends = (this && this.__extends) || (function () {
var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
if (typeof b !== "function" && b !== null)
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
extendStatics(d, b);
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
})();
Object.defineProperty(exports, "__esModule", { value: true });
exports.ConfigurationVersionPathError = void 0;
var NodeTfeError_1 = require("./NodeTfeError");
var ConfigurationVersionPathError = /** @class */ (function (_super) {
__extends(ConfigurationVersionPathError, _super);
function ConfigurationVersionPathError() {
var _this = _super.call(this, 'path needs to be an existing directory') || this;
// Set the prototype explicitly to avoid https://github.com/Microsoft/TypeScript/wiki/Breaking-Changes#extending-built-ins-like-error-array-and-map-may-no-longer-work
Object.setPrototypeOf(_this, ConfigurationVersionPathError.prototype);
return _this;
}
return ConfigurationVersionPathError;
}(NodeTfeError_1.NodeTfeError));
exports.ConfigurationVersionPathError = ConfigurationVersionPathError;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiQ29uZmlndXJhdGlvblZlcnNpb25QYXRoRXJyb3IuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvZXJyb3JzL0NvbmZpZ3VyYXRpb25WZXJzaW9uUGF0aEVycm9yLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7Ozs7Ozs7OztBQUFBLCtDQUE4QztBQUU5QztJQUFtRCxpREFBWTtJQUM3RDtRQUFBLFlBQ0Usa0JBQU0sd0NBQXdDLENBQUMsU0FJaEQ7UUFGQyxzS0FBc0s7UUFDdEssTUFBTSxDQUFDLGNBQWMsQ0FBQyxLQUFJLEVBQUUsNkJBQTZCLENBQUMsU0FBUyxDQUFDLENBQUM7O0lBQ3ZFLENBQUM7SUFDSCxvQ0FBQztBQUFELENBQUMsQUFQRCxDQUFtRCwyQkFBWSxHQU85RDtBQVBZLHNFQUE2QiJ9