1 | "use strict";
|
2 | Object.defineProperty(exports, "__esModule", { value: true });
|
3 | var tslib_1 = require("tslib");
|
4 |
|
5 |
|
6 |
|
7 | var NamingStrategyNotFoundError = (function (_super) {
|
8 | tslib_1.__extends(NamingStrategyNotFoundError, _super);
|
9 | function NamingStrategyNotFoundError(strategyName, connectionName) {
|
10 | var _this = _super.call(this) || this;
|
11 | _this.name = "NamingStrategyNotFoundError";
|
12 | Object.setPrototypeOf(_this, NamingStrategyNotFoundError.prototype);
|
13 | var name = strategyName instanceof Function ? strategyName.name : strategyName;
|
14 | _this.message = "Naming strategy \"" + name + "\" was not found. Looks like this naming strategy does not " +
|
15 | ("exist or it was not registered in current \"" + connectionName + "\" connection?");
|
16 | return _this;
|
17 | }
|
18 | return NamingStrategyNotFoundError;
|
19 | }(Error));
|
20 | exports.NamingStrategyNotFoundError = NamingStrategyNotFoundError;
|
21 |
|
22 |
|