File path: dist/twist/Classes/Error.class.php
Namespace: Twist\Classes
handleException
— Handle a PHP Exception and output the twist exception page. The exception page will be more detailed when the framework is set in development mode (see the TwistPHP setting DEVELOPMENT_MODE).
Name | Description |
---|---|
$resException | n/a |
[$arrError = array()] | n/a |
void — No return information has been documented for this function.
<?php
//Set the variables for the example
$resException = (resource);
$arrError = array();
//Call the function handleException with the example vars
\Twist\Classes\Error::handleException($resException, $arrError);