TwistPHP Documentation

Error

File path: dist/twist/Classes/Error.class.php
Namespace: Twist\Classes
Extends:

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.

Example Usage

<?php
//Call the function serverInformation with the example vars
\Twist\Classes\Error::serverInformation();

Method List

Method Access Returns
__constructconstructvoid
apacheRequestHeadersstaticvoid
serverInformationstaticvoid
handleExceptionstaticvoid
debugDataOutputstaticvoid
handleErrorstaticvoid
handleFatalstaticvoid
handle404staticvoid
errorPagestaticvoid
outputLogstaticvoid
getTypestaticvoid