PHP Class SError

Show 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 public property

static public $CONSOLE

$LOG static public property

static public $LOG

$LOGFILE static public property

static public $LOGFILE

$error_type static public property

static public $error_type