Go to the source code of this file.
Namespaces | |
| namespace | MythWeb |
Enumerations | |
| enum | FATAL |
| enum | ERROR |
| enum | WARNING |
| enum | E_ASSERT_ERROR |
Functions | |
| assert_handler ($file, $line, $code) | |
| This user-defined assert handler just tosses a silent error out if it fails /*. | |
| error_type ($errno) | |
| Function to turn error numbers into strings. | |
| error_handler ($errno, $errstr, $errfile, $errline, $vars) | |
| This user-defined error handler supports the built-in error_reporting() function, and is basically just an expansion of the built-in error- handling routine. | |
| build_backtrace ($errno=null, $errstr=null, $errfile=null, $errline=null, $vars=null) | |
| Build and return a human-readable backtrace message. | |
| email_backtrace ($backtrace=null, $errfile=null, $errline=null, $subject="Backtrace") | |
| Email a backtrace. | |
| enum FATAL |
Definition at line 30 of file errors.php.
| enum ERROR |
Definition at line 31 of file errors.php.
| enum WARNING |
Definition at line 32 of file errors.php.
| enum E_ASSERT_ERROR |
Definition at line 33 of file errors.php.
| assert_handler | ( | $ | file, | |
| $ | line, | |||
| $ | code | |||
| ) |
This user-defined assert handler just tosses a silent error out if it fails /*.
Definition at line 51 of file errors.php.
| error_type | ( | $ | errno | ) |
Function to turn error numbers into strings.
Used in several locations to take the place of a global variable.
| int | $errno The error number to look up. |
Definition at line 62 of file errors.php.
Referenced by ff_er_frame_end().
| error_handler | ( | $ | errno, | |
| $ | errstr, | |||
| $ | errfile, | |||
| $ | errline, | |||
| $ | vars | |||
| ) |
This user-defined error handler supports the built-in error_reporting() function, and is basically just an expansion of the built-in error- handling routine.
If it receives a fatal error (E_USER_ERROR or E_ERROR), it prints a more reassuring message to the viewer of the page and sends an email message to the address stored in Error_Email, which is defined in conf.php. /*
Definition at line 80 of file errors.php.
| build_backtrace | ( | $ | errno = null, |
|
| $ | errstr = null, |
|||
| $ | errfile = null, |
|||
| $ | errline = null, |
|||
| $ | vars = null | |||
| ) |
Build and return a human-readable backtrace message.
Definition at line 127 of file errors.php.
Email a backtrace.
| string | $backtrace The text of the backtrace (or generate a new one). | |
| string | $errfile File the backtrace should reference. | |
| int | $errline Line in $errfile that the backtrace should reference. | |
| string | $subject Email subject tagline. /* |
Definition at line 191 of file errors.php.
1.5.5