UNPKG

1.14 kBSource Map (JSON)View Raw
1{"version":3,"sources":["../../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;AAXY,8EAAiC","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":".."}
\No newline at end of file