{"version":3,"sources":["../browser/src/error/NoNeedToReleaseEntityManagerError.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAE7C;;GAEG;AACH,MAAM,OAAO,iCAAkC,SAAQ,YAAY;IAC/D;QACI,KAAK,CACD,iFAAiF;YAC7E,6FAA6F;YAC7F,wEAAwE,CAC/E,CAAA;IACL,CAAC;CACJ","file":"NoNeedToReleaseEntityManagerError.js","sourcesContent":["import { TypeORMError } from \"./TypeORMError\"\n\n/**\n * Thrown when consumer tries to release entity manager that does not use single database connection.\n */\nexport class NoNeedToReleaseEntityManagerError extends TypeORMError {\n constructor() {\n super(\n `Entity manager is not using single database connection and cannot be released. ` +\n `Only entity managers created by connection#createEntityManagerWithSingleDatabaseConnection ` +\n `methods have a single database connection and they should be released.`,\n )\n }\n}\n"],"sourceRoot":".."}