UNPKG

typeorm

Version:

Data-Mapper ORM for TypeScript and ES2021+. Supports MySQL/MariaDB, PostgreSQL, MS SQL Server, Oracle, SAP HANA, SQLite, MongoDB databases.

14 lines (12 loc) 611 B
import { TypeORMError } from "./TypeORMError"; /** * Thrown when consumer tries to release entity manager that does not use single database connection. */ export class NoNeedToReleaseEntityManagerError extends TypeORMError { constructor() { super(`Entity manager is not using single database connection and cannot be released. ` + `Only entity managers created by connection#createEntityManagerWithSingleDatabaseConnection ` + `methods have a single database connection and they should be released.`); } } //# sourceMappingURL=NoNeedToReleaseEntityManagerError.js.map