Class

ErrorHandler

Package: Core\Error Copyright: © 2005-2019 PHPBoost License: GNU/GPL-3.0 Author: Benoit SAUTEL ben.popeye@phpboost.com Version: PHPBoost 5.2 - last update: 2018 01 31 Since: PHPBoost 3.0 - 2009 09 30 Contributor: Loic ROUCHON horn@phpboost.com Contributor: Arnaud GENET elenwii@phpboost.com Contributor: mipel mipel@phpboost.com Contributor: Julien BRISWALTER j1.seth@phpboost.com Located at: core/error/ErrorHandler.class.php
Direct known subclasses
IntegratedErrorHandler
Methods summary
public boolean
# handle( unknown_type $errno, unknown_type $errstr, unknown_type $errfile, unknown_type $errline )

log the error and displays it in debug mode

protected
# get_stackstrace_as_string( $start_trace_index )
protected
protected
public static
# add_error_in_log( $error_msg, $error_stacktrace, $errno = 0 )
public static
# get_errno_class( $errno )

Get Error type

Constants summary
string FATAL_MESSAGE
# 'Sorry, we encountered a problem and we cannot complete your request...'
Properties summary
protected $errno
#
protected $errfile
#
protected $errline
#
protected $errdesc
#
protected $errclass
#
protected $fatal
#
protected $stacktrace
#
protected $exception
#