prisma-yml
Version:
<a href="https://www.prismagraphql.com"><img src="https://imgur.com/HUu10rH.png" width="248" /></a>
31 lines • 1.22 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 (b.hasOwnProperty(p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
extendStatics(d, b);
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
})();
Object.defineProperty(exports, "__esModule", { value: true });
var StageNotFound = /** @class */ (function (_super) {
__extends(StageNotFound, _super);
function StageNotFound(name) {
var _this = this;
if (name) {
_this = _super.call(this, "Stage '" + name + "' could not be found in the local prisma.yml") || this;
}
else {
_this = _super.call(this, "No stage provided and no default stage set") || this;
}
return _this;
}
return StageNotFound;
}(Error));
exports.StageNotFound = StageNotFound;
//# sourceMappingURL=StageNotFound.js.map
;