error_handler()
exception_handler()
notice()
shutdown_handler()
prepare_exception()
show_php_error()
show_production_error()
$fatal_levels
$levels
$loglevel
$non_fatal_cache
error_handler(int $severity, string $message, string $filepath, int $line) : bool
int
the severity code
string
the error message
string
the path to the file throwing the error
int
the line number of the error
bool
whether to continue with executionexception_handler(\Fuel\Core\Exception $e) : bool
\Fuel\Core\Exception
the exception
bool
notice(string $msg, bool $always_show) : void
This is used by several libraries to notify the developer of certain things.
string
the message to display
bool
whether to force display the notice or not
shutdown_handler() : string
string
prepare_exception($e, $fatal)
show_php_error(\Fuel\Core\Exception $e) : void
It will stop script execution if the error code is not in the errors.continue_on whitelist.
\Fuel\Core\Exception
the exception to show
show_production_error($e) : void
This only gets called when an error occurs in production mode.
$fatal_levels
$levels
$loglevel
$non_fatal_cache