{"version":3,"sources":["../../src/error/NoConnectionForRepositoryError.ts"],"names":[],"mappings":";;;AAAA;;GAEG;AACH;IAAoD,0DAAK;IAGrD,wCAAY,cAAsB;QAAlC,YACI,iBAAO,SAIV;QAPD,UAAI,GAAG,gCAAgC,CAAC;QAIpC,MAAM,CAAC,cAAc,CAAC,KAAI,EAAE,8BAA8B,CAAC,SAAS,CAAC,CAAC;QACtE,KAAI,CAAC,OAAO,GAAG,mCAAgC,cAAc,uDAAoD;YAC7G,iFAAiF,CAAC;;IAC1F,CAAC;IAEL,qCAAC;AAAD,CAVA,AAUC,CAVmD,KAAK,GAUxD;AAVY,wEAA8B","file":"NoConnectionForRepositoryError.js","sourcesContent":["/**\n * Thrown when consumer tries to access repository before connection is established.\n */\nexport class NoConnectionForRepositoryError extends Error {\n name = \"NoConnectionForRepositoryError\";\n\n constructor(connectionName: string) {\n super();\n Object.setPrototypeOf(this, NoConnectionForRepositoryError.prototype);\n this.message = `Cannot get a Repository for \"${connectionName} connection, because connection with the database ` +\n `is not established yet. Call connection#connect method to establish connection.`;\n }\n\n}"],"sourceRoot":".."}
|