@connectv/core
Version:
agent-based reactive programming library for typescript/javascript
32 lines • 1.46 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 });
/**
*
* This error is thrown when an agent which has no explicit specification
* of its entry and exit pins is used as a partial flow.
* [Read this](https://connective.dev/docs/agent#implicit-connection) for more
* information on partial flows.
*
*/
var ImproperPartialFlow = /** @class */ (function (_super) {
__extends(ImproperPartialFlow, _super);
function ImproperPartialFlow(object) {
return _super.call(this, (object.constructor ? object.constructor.name : object) + " is not a properly defined PartialFlow.\nFor more information, follow this link:\nhttps://connective.dev/docs/agent#implicit-connection") || this;
}
return ImproperPartialFlow;
}(Error));
exports.ImproperPartialFlow = ImproperPartialFlow;
//# sourceMappingURL=improper-partial-flow.error.js.map