typeorm
Version:
Data-Mapper ORM for TypeScript and ES2021+. Supports MySQL/MariaDB, PostgreSQL, MS SQL Server, Oracle, SAP HANA, SQLite, MongoDB databases.
12 lines (10 loc) • 433 B
JavaScript
import { TypeORMError } from "./TypeORMError";
/**
* Thrown when consumer tries to execute operation allowed only if connection is opened.
*/
export class CannotExecuteNotConnectedError extends TypeORMError {
constructor(connectionName) {
super(`Cannot execute operation on "${connectionName}" connection because connection is not yet established.`);
}
}
//# sourceMappingURL=CannotExecuteNotConnectedError.js.map