Skip to content

Commit 8b36556

Browse files
committed
docs: add note for RedirectException namespace
1 parent d19d034 commit 8b36556

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

user_guide_src/source/general/errors.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,10 @@ This provides an exit code of 8.
104104
RedirectException
105105
-----------------
106106

107+
.. note:: Since v4.4.0, the namespace of ``RedirectException`` has been changed.
108+
Previously it was ``CodeIgniter\Router\Exceptions\RedirectException``. The
109+
previous class is deprecated.
110+
107111
This exception is a special case allowing for overriding of all other response routing and
108112
forcing a redirect to a specific route or URL:
109113

0 commit comments

Comments
 (0)