Method |
Description |
|
__construct ( string $message = 'Generic Habari Error', integer $code, boolean $is_error = false ) |
Constructor for the Error class |
|
_n ( $singular, $plural, $count ) |
|
|
_t ( $v ) |
|
|
error_handler ( $errno, $errstr, $errfile, $errline, $errcontext ) |
Used to handle all PHP errors after Error::handle_errors() is called. |
|
exception_handler ( $exception ) |
Used to handle all uncaught exceptions. |
|
get ( ) |
function get |
|
handle_errors ( ) |
function handle_errors |
|
humane_error ( ) : string |
Get the error text, file, and line number from the backtrace, which is more accurate |
|
is_error ( $obj ) |
function is_error |
|
out ( ) |
function out |
|
raise ( $error_message, $severity = E_USER_ERROR ) |
function raise |
|
shutdown_handler ( ) |
|
|