Skip to content

Commit c7bc4fd

Browse files
committed
docs: add upgrading guide
1 parent f04e847 commit c7bc4fd

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

user_guide_src/source/installation/upgrade_440.rst

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,19 @@ Please refer to the upgrade instructions corresponding to your installation meth
1515
Breaking Changes
1616
****************
1717

18+
When you extend Exceptions
19+
==========================
20+
21+
If you are extending ``CodeIgniter\Debug\Exceptions`` and have not overridden
22+
the ``exceptionHandler()`` method, defining the new ``Config\Exceptions::handler()``
23+
method in your **app/Config/Exceptions.php** will cause the specified Exception
24+
Handler to be executed.
25+
26+
Your overridden code will no longer be executed, so make any necessary changes
27+
by defining your own exception handler.
28+
29+
See :ref:`custom-exception-handlers` for the detail.
30+
1831
Mandatory File Changes
1932
**********************
2033

@@ -52,7 +65,9 @@ and it is recommended that you merge the updated versions with your application:
5265
Config
5366
------
5467

55-
- @TODO
68+
- app/Config/Exceptions.php
69+
- Added the new method ``handler()`` that define custom Exception Handlers.
70+
See :ref:`custom-exception-handlers`.
5671

5772
All Changes
5873
===========

0 commit comments

Comments
 (0)