UNPKG

typeorm

Version:

Data-Mapper ORM for TypeScript, ES7, ES6, ES5. Supports MySQL, PostgreSQL, MariaDB, SQLite, MS SQL Server, Oracle, MongoDB databases.

16 lines (14 loc) 666 B
import { __extends } from "tslib"; import { TypeORMError } from "./TypeORMError"; /** * Thrown when transaction is already started and user tries to run it again. */ var TransactionAlreadyStartedError = /** @class */ (function (_super) { __extends(TransactionAlreadyStartedError, _super); function TransactionAlreadyStartedError() { return _super.call(this, "Transaction already started for the given connection, commit current transaction before starting a new one.") || this; } return TransactionAlreadyStartedError; }(TypeORMError)); export { TransactionAlreadyStartedError }; //# sourceMappingURL=TransactionAlreadyStartedError.js.map