We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dfbc7f8 commit f9a322bCopy full SHA for f9a322b
1 file changed
user_guide_src/source/database/transactions.rst
@@ -61,9 +61,11 @@ Strict Mode can be disabled as follows:
61
Managing Errors
62
===============
63
64
-If you have error reporting enabled in your **app/Config/Database.php** file
65
-you'll see a standard error message if the commit was unsuccessful. If
66
-debugging is turned off, you can manage your own errors like this:
+When you have ``DBDebug`` true in your **app/Config/Database.php** file,
+if a query error occurs, all the queries will be rolled backed, and an exception
+will be thrown. So you'll see a standard error page.
67
+
68
+If the ``DBDebug`` is false, you can manage your own errors like this:
69
70
.. literalinclude:: transactions/003.php
71
0 commit comments