PHP Class Kraken\Throwable\ErrorHandler

Mostrar archivo Open project: kraken-php/framework Class Usage Examples

Protected Properties

Property Type Description
$errHandler string
$excHandler string

Public Methods

Method Description
handleError ( integer $code, string $message, string $file, integer $line ) Invoke default Error Handler.
handleShutdown ( boolean $forceKill = false ) Invoke default Shutdown Handler.

Private Methods

Method Description
getSystemError ( integer $type ) : array

Method Details

handleError() public static method

Invoke default Error Handler.
public static handleError ( integer $code, string $message, string $file, integer $line )
$code integer
$message string
$file string
$line integer

handleShutdown() public static method

Invoke default Shutdown Handler.
public static handleShutdown ( boolean $forceKill = false )
$forceKill boolean

Property Details

$errHandler protected_oe static_oe property

protected static string $errHandler
return string

$excHandler protected_oe static_oe property

protected static string $excHandler
return string