File path: dist/twist/Classes/Error.class.php
Namespace: Twist\Classes
Type: Class
Error
— A custom error handler that handles all of TwistPHPs Errors, Exceptions and Fatal Errors, it also handles errors produced in your PHP code and outputs all HTTP status pages.
<?php
//Call the function serverInformation with the example vars
\Twist\Classes\Error::serverInformation();
Method | Access | Returns |
---|---|---|
__construct | construct | void |
apacheRequestHeaders | static | void |
serverInformation | static | void |
handleException | static | void |
debugDataOutput | static | void |
handleError | static | void |
handleFatal | static | void |
handle404 | static | void |
errorPage | static | void |
outputLog | static | void |
getType | static | void |