ErrorHandler
in package
Error Handler Class
Table of Contents
- $debug : DebugLib
- Contains a DebugLib object
- __construct() : mixed
- Constructor
- errorHandler() : bool
- Set the error handler
- fatalErrorShutdownFunction() : void
- Set a shutdown function on fatal error
- createNewDebugObject() : void
- Create a new DebugLib object
Properties
$debug
Contains a DebugLib object
private
DebugLib
$debug
Methods
__construct()
Constructor
public
__construct() : mixed
Return values
mixed —errorHandler()
Set the error handler
public
final errorHandler(int $code, string $description, string $file, string $line) : bool
Parameters
- $code : int
- $description : string
- $file : string
- $line : string
Return values
bool —fatalErrorShutdownFunction()
Set a shutdown function on fatal error
public
final fatalErrorShutdownFunction() : void
Return values
void —createNewDebugObject()
Create a new DebugLib object
private
createNewDebugObject() : void