typeorm
Version:
Data-Mapper ORM for TypeScript and ES2021+. Supports MySQL/MariaDB, PostgreSQL, MS SQL Server, Oracle, SAP HANA, SQLite, MongoDB databases.
16 lines (14 loc) • 643 B
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
exports.CannotExecuteNotConnectedError = void 0;
const TypeORMError_1 = require("./TypeORMError");
/**
* Thrown when consumer tries to execute operation allowed only if connection is opened.
*/
class CannotExecuteNotConnectedError extends TypeORMError_1.TypeORMError {
constructor(connectionName) {
super(`Cannot execute operation on "${connectionName}" connection because connection is not yet established.`);
}
}
exports.CannotExecuteNotConnectedError = CannotExecuteNotConnectedError;
//# sourceMappingURL=CannotExecuteNotConnectedError.js.map
;