333
schangxiang@126.com
2025-09-19 18966e02fb573c7e2bb0c6426ed792b38b910940
1
{"version":3,"sources":["../browser/src/error/NoNeedToReleaseEntityManagerError.ts"],"names":[],"mappings":";AAAA;;GAEG;AACH;IAAuD,6DAAK;IAGxD;QAAA,YACI,iBAAO,SAKV;QARD,UAAI,GAAG,mCAAmC,CAAC;QAIvC,MAAM,CAAC,cAAc,CAAC,KAAI,EAAE,iCAAiC,CAAC,SAAS,CAAC,CAAC;QACzE,KAAI,CAAC,OAAO,GAAG,iFAAiF;YAC5F,6FAA6F;YAC7F,wEAAwE,CAAC;;IACjF,CAAC;IAEL,wCAAC;AAAD,CAXA,AAWC,CAXsD,KAAK,GAW3D","file":"NoNeedToReleaseEntityManagerError.js","sourcesContent":["/**\n * Thrown when consumer tries to release entity manager that does not use single database connection.\n */\nexport class NoNeedToReleaseEntityManagerError extends Error {\n    name = \"NoNeedToReleaseEntityManagerError\";\n\n    constructor() {\n        super();\n        Object.setPrototypeOf(this, NoNeedToReleaseEntityManagerError.prototype);\n        this.message = `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}"],"sourceRoot":".."}