Skip to content

Commit e474eb9

Browse files
committed
docs(database): clarify retryable transaction exception
Signed-off-by: memleakd <121398829+memleakd@users.noreply.github.com>
1 parent 9817bed commit e474eb9

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

system/Database/Exceptions/RetryableTransactionException.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@
1313

1414
namespace CodeIgniter\Database\Exceptions;
1515

16+
/**
17+
* Thrown when a transaction failure may succeed if the whole transaction is retried.
18+
*/
1619
class RetryableTransactionException extends DatabaseException
1720
{
1821
}

user_guide_src/source/changelogs/v4.8.0.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ Interface Changes
4343
**NOTE:** If you've implemented your own classes that implement these interfaces from scratch, you will need to
4444
update your implementations to include the new methods or method changes to ensure compatibility.
4545

46-
- **Database:** ``CodeIgniter\Database\ConnectionInterface`` now requires the ``afterCommit()``, ``afterRollback()``, ``inTransaction()`` and ``transaction()`` methods.
46+
- **Database:** ``CodeIgniter\Database\ConnectionInterface`` now requires the ``afterCommit()``, ``afterRollback()``, ``inTransaction()``, and ``transaction()`` methods.
4747
- **Logging:** ``CodeIgniter\Log\Handlers\HandlerInterface::handle()`` now requires a third parameter ``array $context = []``. Any custom log handler that overrides ``handle()`` - whether implementing ``HandlerInterface`` directly or extending a built-in handler class - must add the parameter to its ``handle()`` method signature.
4848
- **Security:** The ``SecurityInterface``'s ``verify()`` method now has a native return type of ``static``.
4949

0 commit comments

Comments
 (0)