UNPKG

955 BSource Map (JSON)View Raw
1{"version":3,"sources":["../../src/error/CannotConnectAlreadyConnectedError.ts"],"names":[],"mappings":";;;AAAA;;GAEG;AACH;IAAwD,8DAAK;IAGzD,4CAAY,cAAsB;QAAlC,YACI,iBAAO,SAGV;QAND,UAAI,GAAG,oCAAoC,CAAC;QAIxC,MAAM,CAAC,cAAc,CAAC,KAAI,EAAE,kCAAkC,CAAC,SAAS,CAAC,CAAC;QAC1E,KAAI,CAAC,OAAO,GAAG,uBAAoB,cAAc,0EAAsE,CAAC;;IAC5H,CAAC;IAEL,yCAAC;AAAD,CATA,AASC,CATuD,KAAK,GAS5D;AATY,gFAAkC","file":"CannotConnectAlreadyConnectedError.js","sourcesContent":["/**\n * Thrown when consumer tries to connect when he already connected.\n */\nexport class CannotConnectAlreadyConnectedError extends Error {\n name = \"CannotConnectAlreadyConnectedError\";\n\n constructor(connectionName: string) {\n super();\n Object.setPrototypeOf(this, CannotConnectAlreadyConnectedError.prototype);\n this.message = `Cannot create a \"${connectionName}\" connection because connection to the database already established.`;\n }\n\n}"],"sourceRoot":".."}
\No newline at end of file