UNPKG

1 kBSource Map (JSON)View Raw
1{"version":3,"sources":["../../src/error/CannotGetEntityManagerNotConnectedError.ts"],"names":[],"mappings":";;;AAAA;;GAEG;AACH;IAA6D,mEAAK;IAG9D,iDAAY,cAAsB;QAAlC,YACI,iBAAO,SAGV;QAND,UAAI,GAAG,yCAAyC,CAAC;QAI7C,MAAM,CAAC,cAAc,CAAC,KAAI,EAAE,uCAAuC,CAAC,SAAS,CAAC,CAAC;QAC/E,KAAI,CAAC,OAAO,GAAG,qCAAkC,cAAc,6DAAyD,CAAC;;IAC7H,CAAC;IAEL,8CAAC;AAAD,CATA,AASC,CAT4D,KAAK,GASjE;AATY,0FAAuC","file":"CannotGetEntityManagerNotConnectedError.js","sourcesContent":["/**\n * Thrown when consumer tries to access entity manager before connection is established.\n */\nexport class CannotGetEntityManagerNotConnectedError extends Error {\n name = \"CannotGetEntityManagerNotConnectedError\";\n\n constructor(connectionName: string) {\n super();\n Object.setPrototypeOf(this, CannotGetEntityManagerNotConnectedError.prototype);\n this.message = `Cannot get entity manager for \"${connectionName}\" connection because connection is not yet established.`;\n }\n\n}"],"sourceRoot":".."}
\No newline at end of file