Skip to content

Commit

Permalink
docs: add upgrading guide
Browse files Browse the repository at this point in the history
  • Loading branch information
kenjis committed Feb 13, 2023
1 parent f04e847 commit c7bc4fd
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion user_guide_src/source/installation/upgrade_440.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,19 @@ Please refer to the upgrade instructions corresponding to your installation meth
Breaking Changes
****************

When you extend Exceptions
==========================

If you are extending ``CodeIgniter\Debug\Exceptions`` and have not overridden
the ``exceptionHandler()`` method, defining the new ``Config\Exceptions::handler()``
method in your **app/Config/Exceptions.php** will cause the specified Exception
Handler to be executed.

Your overridden code will no longer be executed, so make any necessary changes
by defining your own exception handler.

See :ref:`custom-exception-handlers` for the detail.

Mandatory File Changes
**********************

Expand Down Expand Up @@ -52,7 +65,9 @@ and it is recommended that you merge the updated versions with your application:
Config
------

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

All Changes
===========
Expand Down

0 comments on commit c7bc4fd

Please sign in to comment.