1 | "use strict";
|
2 | Object.defineProperty(exports, "__esModule", { value: true });
|
3 | var tslib_1 = require("tslib");
|
4 |
|
5 |
|
6 |
|
7 | var CustomRepositoryNotFoundError = (function (_super) {
|
8 | tslib_1.__extends(CustomRepositoryNotFoundError, _super);
|
9 | function CustomRepositoryNotFoundError(repository) {
|
10 | var _this = _super.call(this) || this;
|
11 | _this.name = "CustomRepositoryNotFoundError";
|
12 | Object.setPrototypeOf(_this, CustomRepositoryNotFoundError.prototype);
|
13 | _this.message = "Custom repository " + (repository instanceof Function ? repository.name : repository.constructor.name) + " was not found. " +
|
14 | "Did you forgot to put @EntityRepository decorator on it?";
|
15 | return _this;
|
16 | }
|
17 | return CustomRepositoryNotFoundError;
|
18 | }(Error));
|
19 | exports.CustomRepositoryNotFoundError = CustomRepositoryNotFoundError;
|
20 |
|
21 |
|