File path: dist/twist/Classes/Error.class.php
Namespace: Twist\Classes
errorPage
— Output a response code and a custom message if required to the user, this function handles all HTTP response codes.
Name | Description |
---|---|
$intErrorCode | n/a |
[$strCustomDescription = null] | n/a |
void — No return information has been documented for this function.
<?php
//Set the variables for the example
$intErrorCode = 124;
$strCustomDescription = null;
//Call the function errorPage with the example vars
\Twist\Classes\Error::errorPage($intErrorCode, $strCustomDescription);