UNPKG

typeorm

Version:

Data-Mapper ORM for TypeScript, ES7, ES6, ES5. Supports MySQL, PostgreSQL, MariaDB, SQLite, MS SQL Server, Oracle, MongoDB databases.

19 lines (17 loc) 943 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.CannotGetEntityManagerNotConnectedError = void 0; var tslib_1 = require("tslib"); var TypeORMError_1 = require("./TypeORMError"); /** * Thrown when consumer tries to access entity manager before connection is established. */ var CannotGetEntityManagerNotConnectedError = /** @class */ (function (_super) { tslib_1.__extends(CannotGetEntityManagerNotConnectedError, _super); function CannotGetEntityManagerNotConnectedError(connectionName) { return _super.call(this, "Cannot get entity manager for \"" + connectionName + "\" connection because connection is not yet established.") || this; } return CannotGetEntityManagerNotConnectedError; }(TypeORMError_1.TypeORMError)); exports.CannotGetEntityManagerNotConnectedError = CannotGetEntityManagerNotConnectedError; //# sourceMappingURL=CannotGetEntityManagerNotConnectedError.js.map