1 | "use strict";
|
2 | Object.defineProperty(exports, "__esModule", { value: true });
|
3 | var tslib_1 = require("tslib");
|
4 |
|
5 |
|
6 |
|
7 | var CircularRelationsError = (function (_super) {
|
8 | tslib_1.__extends(CircularRelationsError, _super);
|
9 | function CircularRelationsError(path) {
|
10 | var _this = _super.call(this) || this;
|
11 | _this.name = "CircularRelationsError";
|
12 | Object.setPrototypeOf(_this, CircularRelationsError.prototype);
|
13 | _this.message = "Circular relations detected: " + path + ". To resolve this issue you need to set nullable: false somewhere in this dependency structure.";
|
14 | return _this;
|
15 | }
|
16 | return CircularRelationsError;
|
17 | }(Error));
|
18 | exports.CircularRelationsError = CircularRelationsError;
|
19 |
|
20 |
|