Function __global->_cms_error_handler
Definitions
sources/failure.php
- Called by 'cms_error_handler'. Software error handler (hooked into PHP error system).
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $type | ID_TEXT | No | No | required parameter | error warning notice deprecated | N/A | Error type indicator (tiny human-readable text string) |
| $errno | integer | No | No | required parameter | N/A | N/A | The error code-number |
| $errstr | PATH | No | No | required parameter | N/A | N/A | The error message |
| $errfile | string | No | No | required parameter | N/A | N/A | The file the error occurred in |
| $errline | integer | No | No | required parameter | N/A | N/A | The line the error occurred on |
| $syslog_type | integer | No | No | required parameter | N/A | N/A | The syslog type (used by GAE logging) |
| $handling_method | string | No | No | required parameter | LOG ATTACH FATAL | N/A | How to handle the error |
Preview
Code (PHP)
/**
* Called by 'cms_error_handler'. Software error handler (hooked into PHP error system).
*
* @param ID_TEXT $type Error type indicator (tiny human-readable text string)
* @set error warning notice deprecated
* @param integer $errno The error code-number
* @param PATH $errstr The error message
* @param string $errfile The file the error occurred in
* @param integer $errline The line the error occurred on
* @param integer $syslog_type The syslog type (used by GAE logging)
* @param string $handling_method How to handle the error
* @set LOG ATTACH FATAL
*/
function _cms_error_handler(string $type, int $errno, string $errstr, string $errfile, int $errline, int $syslog_type, string $handling_method)
* Called by 'cms_error_handler'. Software error handler (hooked into PHP error system).
*
* @param ID_TEXT $type Error type indicator (tiny human-readable text string)
* @set error warning notice deprecated
* @param integer $errno The error code-number
* @param PATH $errstr The error message
* @param string $errfile The file the error occurred in
* @param integer $errline The line the error occurred on
* @param integer $syslog_type The syslog type (used by GAE logging)
* @param string $handling_method How to handle the error
* @set LOG ATTACH FATAL
*/
function _cms_error_handler(string $type, int $errno, string $errstr, string $errfile, int $errline, int $syslog_type, string $handling_method)

