UNPKG

typeorm

Version:

Data-Mapper ORM for TypeScript and ES2021+. Supports MySQL/MariaDB, PostgreSQL, MS SQL Server, Oracle, SAP HANA, SQLite, MongoDB databases.

13 lines (11 loc) 529 B
import { TypeORMError } from "./TypeORMError"; /** * Thrown when consumer tries to recreate connection with the same name, but previous connection was not closed yet. */ export class AlreadyHasActiveConnectionError extends TypeORMError { constructor(connectionName) { super(`Cannot create a new connection named "${connectionName}", because connection with such name ` + `already exist and it now has an active connection session.`); } } //# sourceMappingURL=AlreadyHasActiveConnectionError.js.map