import { TypeORMError } from "./TypeORMError";
/**
 * Thrown when a transaction is required for the current operation, but there is none open.
 */
export class PessimisticLockTransactionRequiredError extends TypeORMError {
    constructor() {
        super(`An open transaction is required for pessimistic lock.`);
    }
}

//# sourceMappingURL=PessimisticLockTransactionRequiredError.js.map
