Skip to content

Commit

Permalink
docs: show full classnames
Browse files Browse the repository at this point in the history
  • Loading branch information
kenjis committed Mar 31, 2024
1 parent 8047699 commit b4855dd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions user_guide_src/source/general/errors.rst
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ Specify HTTP Status Code in Your Exception
.. versionadded:: 4.3.0

Since v4.3.0, you can specify the HTTP status code for your Exception class to implement
``HTTPExceptionInterface``.
``CodeIgniter\Exceptions\HTTPExceptionInterface``.

When an exception implementing ``HTTPExceptionInterface`` is caught by CodeIgniter's exception handler, the Exception code will become the HTTP status code.

Expand Down Expand Up @@ -230,7 +230,7 @@ Specify Exit Code in Your Exception
.. versionadded:: 4.3.0

Since v4.3.0, you can specify the exit code for your Exception class to implement
``HasExitCodeInterface``.
``CodeIgniter\Exceptions\HasExitCodeInterface``.

When an exception implementing ``HasExitCodeInterface`` is caught by CodeIgniter's exception handler, the code returned from the ``getExitCode()`` method will become the exit code.

Expand Down

0 comments on commit b4855dd

Please sign in to comment.