1 | "use strict";
|
2 | Object.defineProperty(exports, "__esModule", { value: true });
|
3 | var tslib_1 = require("tslib");
|
4 |
|
5 |
|
6 |
|
7 | var CannotAttachTreeChildrenEntityError = (function (_super) {
|
8 | tslib_1.__extends(CannotAttachTreeChildrenEntityError, _super);
|
9 | function CannotAttachTreeChildrenEntityError(entityName) {
|
10 | var _this = _super.call(this) || this;
|
11 | _this.name = "CannotAttachTreeChildrenEntityError";
|
12 | Object.setPrototypeOf(_this, CannotAttachTreeChildrenEntityError.prototype);
|
13 | _this.message = "Cannot attach entity \"" + entityName + "\" to its parent. Please make sure parent is saved in the database before saving children nodes.";
|
14 | return _this;
|
15 | }
|
16 | return CannotAttachTreeChildrenEntityError;
|
17 | }(Error));
|
18 | exports.CannotAttachTreeChildrenEntityError = CannotAttachTreeChildrenEntityError;
|
19 |
|
20 |
|