JError::setErrorHandling
Method to set the way the JError will handle different error levels. Use this if you want to override the default settings.
Error handling modes: - ignore - echo - verbose - die - message - log - callback You may also set the error handling for several modes at once using PHP's bit operations. Examples: - E_ALL = Set the handling for all levels - E_ERROR | E_WARNING = Set the handling for errors and warnings - E_ALL ^ E_ERROR = Set the handling for all levels except errors
Signature
public function setErrorHandling(integer
$level,
[string
$mode = null,
[mixed
$options = null]] )
Parameters
-
$level
- The error level for which to set the error handling
-
$mode
- The mode to use for the error handling.
-
$options
- Optional: Any options needed for the given mode.
Returns
- mixed
- True on success or a JException object if failed.