From 8b36556cfc0022f0452b4e7b2819e0680bbae573 Mon Sep 17 00:00:00 2001 From: kenjis Date: Wed, 28 Jun 2023 07:15:35 +0900 Subject: [PATCH] docs: add note for RedirectException namespace --- user_guide_src/source/general/errors.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/user_guide_src/source/general/errors.rst b/user_guide_src/source/general/errors.rst index d5de5ca1acbd..c2531586311d 100644 --- a/user_guide_src/source/general/errors.rst +++ b/user_guide_src/source/general/errors.rst @@ -104,6 +104,10 @@ This provides an exit code of 8. RedirectException ----------------- +.. note:: Since v4.4.0, the namespace of ``RedirectException`` has been changed. + Previously it was ``CodeIgniter\Router\Exceptions\RedirectException``. The + previous class is deprecated. + This exception is a special case allowing for overriding of all other response routing and forcing a redirect to a specific route or URL: