Summary
- File
- Package hierarchy Core\Error
- Class hierarchy \ErrorHandler
handle(\unknown_type $errno, \unknown_type $errstr, \unknown_type $errfile, \unknown_type $errline) : boolean
log the error and displays it in debug mode
\unknown_type | $errno | contains the level of the error raised, as an integer |
\unknown_type | $errstr | contains the error message, as a string |
\unknown_type | $errfile | the filename that the error was raised in, as a string |
\unknown_type | $errline | the line number the error was raised at, as an integer |
always true because we don't want the php default error handler to process the error again
None found |
add_error_in_log( $error_msg, $error_stacktrace, $errno)
$error_msg | ||
$error_stacktrace | ||
$errno |
None found |
get_errno_class( $errno)
Get Error type
$errno |
None found |
get_stackstrace_as_string( $start_trace_index)
$start_trace_index |
None found |
display_debug()
None found |
display_fatal()
None found |
prepare( $errno, $errstr, $errfile, $errline)
$errno | ||
$errstr | ||
$errfile | ||
$errline |
None found |
needs_to_be_processed( $errno) : boolean
$errno |
true if the error is not thrown by a functionprefixed with an @ and if the errno is in the ERROR_REPORTING level
None found |
process()
None found |
display()
None found |
log()
None found |
clear_error_log_file( $log_file)
$log_file |
None found |
add_error_in_log_file( $log_file, $error_msg, $error_stacktrace, $errno)
$log_file | ||
$error_msg | ||
$error_stacktrace | ||
$errno |
None found |
compute_error_log_string( $error_msg, $error_stacktrace, $errno)
$error_msg | ||
$error_stacktrace | ||
$errno |
None found |
clean_error_string( $message)
$message |
None found |
$errno :
None found |
$errfile :
None found |
$errline :
None found |
$errdesc :
None found |
$errclass :
None found |
$fatal :
None found |
$stacktrace :
None found |
$exception :
None found |
$LOG_FILE_MAX_SIZE : integer
None found |