Skip to content

Commit d97ee0e

Browse files
authored
Merge pull request #7631 from kenjis/docs-RedirectException-note
docs: add note for RedirectException namespace
2 parents 40409b3 + 8b36556 commit d97ee0e

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)