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