[ Index ] |
PHP Cross Reference of Joomla 4.2.2 documentation |
[Source view] [Print] [Project Stats]
Joomla! Content Management System
Copyright: | (C) 2012 Open Source Matters, Inc. |
License: | GNU General Public License version 2 or later; see LICENSE.txt |
File Size: | 217 lines (7 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
ExceptionHandler:: (5 methods):
handleUserDeprecatedErrors()
handleException()
render()
isException()
logException()
Class: ExceptionHandler - X-Ref
Displays the custom error page when an uncaught exception occurs.handleUserDeprecatedErrors(int $errorNumber, string $errorMessage, string $errorFile, int $errorLine) X-Ref |
Handles an error triggered with the E_USER_DEPRECATED level. param: integer $errorNumber The level of the raised error, represented by the E_* constants. param: string $errorMessage The error message. param: string $errorFile The file the error was triggered from. param: integer $errorLine The line number the error was triggered from. return: boolean |
handleException(\Throwable $error) X-Ref |
Handles exceptions: logs errors and renders error page. param: \Exception|\Throwable $error An Exception or Throwable (PHP 7+) object for which to render the error page. return: void |
render(\Throwable $error) X-Ref |
Render the error page based on an exception. param: \Throwable $error An Exception or Throwable (PHP 7+) object for which to render the error page. return: void |
isException($error) X-Ref |
Checks if given error belong to PHP exception class (\Throwable for PHP 7+, \Exception for PHP 5-). param: mixed $error Any error value. return: boolean |
logException(\Throwable $error) X-Ref |
Logs exception, catching all possible errors during logging. param: \Throwable $error An Exception or Throwable (PHP 7+) object to get error message from. return: void |
Generated: Wed Sep 7 05:41:13 2022 | Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer |