JError::registerErrorLevel
Method to register a new error level for handling errors
This allows you to add custom error levels to the built-in - E_NOTICE - E_WARNING - E_NOTICE
Signature
public function registerErrorLevel(integer
$level,
[string
$name = 'ignore',
[string
$handler = 'ignore']] )
Parameters
-
$level
- Error level to register
-
$name
- Human readable name for the error level
-
$handler
- Error handler to set for the new error level [optional]
Returns
- boolean
- True on success; false if the level already has been registered