{"version":3,"sources":["../../src/error/AlreadyHasActiveConnectionError.ts"],"names":[],"mappings":";;;AAAA,iDAA6C;AAE7C;;GAEG;AACH,MAAa,+BAAgC,SAAQ,2BAAY;IAC7D,YAAY,cAAsB;QAC9B,KAAK,CACD,yCAAyC,cAAc,uCAAuC;YAC1F,4DAA4D,CACnE,CAAA;IACL,CAAC;CACJ;AAPD,0EAOC","file":"AlreadyHasActiveConnectionError.js","sourcesContent":["import { TypeORMError } from \"./TypeORMError\"\n\n/**\n * Thrown when consumer tries to recreate connection with the same name, but previous connection was not closed yet.\n */\nexport class AlreadyHasActiveConnectionError extends TypeORMError {\n constructor(connectionName: string) {\n super(\n `Cannot create a new connection named \"${connectionName}\", because connection with such name ` +\n `already exist and it now has an active connection session.`,\n )\n }\n}\n"],"sourceRoot":".."}