Skip to content

Commit 5d6a907

Browse files
committed
docs: add exception class name
1 parent 338345f commit 5d6a907

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

user_guide_src/source/database/transactions.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ Strict Mode can be disabled as follows:
6666

6767
.. note:: Since v4.3.0, ``DBDebug`` is true by default in all environments.
6868
When ``DBDebug`` is true, if a query error occurs, all the queries
69-
will be rolled backed, and an exception will be thrown.
69+
will be rolled backed, and a ``DatabaseException`` will be thrown.
7070
In previous versions, ``DBDebug`` was false only in production environment,
7171
and different database drivers might throw different exception classes.
7272

@@ -85,7 +85,7 @@ If the ``DBDebug`` is false, you can manage your own errors like this:
8585

8686
.. note:: Since v4.3.0, ``DBDebug`` is true by default in all environments.
8787
When ``DBDebug`` is true, if a query error occurs, all the queries
88-
will be rolled backed, and an exception will be thrown.
88+
will be rolled backed, and a ``DatabaseException`` will be thrown.
8989
In previous versions, ``DBDebug`` was false only in production environment,
9090
and different database drivers might throw different exception classes.
9191

0 commit comments

Comments
 (0)