Database/src/Exceptions/InvalidTransactionStateException.php

15 lines
376 B
PHP
Raw Normal View History

2024-11-08 16:33:44 +01:00
<?php
namespace Nest\Database\Exceptions;
/**
* Exception thrown when the current transaction does not allow to commit or rollback the transaction.
*/
class InvalidTransactionStateException extends DatabaseException
{
public function __construct(string $message = "", int $code = 0, ?Throwable $previous = null)
{
parent::__construct($message, $code, $previous);
}
}