PHP Class SError

Mostra file Open project: hetao29/slightphp Class Usage Examples

Public Properties

Property Type Description
$CONSOLE
$LOG
$LOGFILE
$error_type

Public Methods

Method Description
args2str ( $args )
error_handler ( $errno, $errstr, $errfile, $errline )
exception_handler ( $e )
fatal_handler ( )
getError ( $backtrace, $e = null ) : string
getFatal ( $error )
obj2str ( &$args )

Method Details

args2str() public static method

public static args2str ( $args )

error_handler() public static method

public static error_handler ( $errno, $errstr, $errfile, $errline )

exception_handler() public static method

public static exception_handler ( $e )

fatal_handler() public static method

public static fatal_handler ( )

getError() public static method

public static getError ( $backtrace, $e = null ) : string
return string

getFatal() public static method

public static getFatal ( $error )

obj2str() public static method

public static obj2str ( &$args )

Property Details

$CONSOLE static_oe public_oe property

static public $CONSOLE

$LOG static_oe public_oe property

static public $LOG

$LOGFILE static_oe public_oe property

static public $LOGFILE

$error_type static_oe public_oe property

static public $error_type