TwistPHP Documentation

handleFatal

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

handleFatalHandler to capture most PHP fatal errors and output them to the screen as a nicely formatted exception page.

Return Values

void — No return information has been documented for this function.

Example

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