typeorm
Version:
Data-Mapper ORM for TypeScript and ES2021+. Supports MySQL/MariaDB, PostgreSQL, MS SQL Server, Oracle, SAP HANA, SQLite, MongoDB databases.
12 lines (10 loc) • 453 B
JavaScript
import { TypeORMError } from "./TypeORMError";
/**
* Thrown when consumer tries to access entity manager before connection is established.
*/
export class CannotGetEntityManagerNotConnectedError extends TypeORMError {
constructor(connectionName) {
super(`Cannot get entity manager for "${connectionName}" connection because connection is not yet established.`);
}
}
//# sourceMappingURL=CannotGetEntityManagerNotConnectedError.js.map