typeorm
Version:
Data-Mapper ORM for TypeScript, ES7, ES6, ES5. Supports MySQL, PostgreSQL, MariaDB, SQLite, MS SQL Server, Oracle, MongoDB databases.
16 lines (14 loc) • 748 B
JavaScript
import { __extends } from "tslib";
import { TypeORMError } from "./TypeORMError";
/**
* Thrown when consumer tries to access entity manager before connection is established.
*/
var CannotGetEntityManagerNotConnectedError = /** @class */ (function (_super) {
__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));
export { CannotGetEntityManagerNotConnectedError };
//# sourceMappingURL=CannotGetEntityManagerNotConnectedError.js.map