TwistPHP Documentation

errorPage

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

errorPageOutput HTTP error response code, This function has been deprecated in favour of the response() method

Parameters

Name Type Description
$intErrorCodeintegern/a
[$strCustomDescription = null]stringn/a
[$blExitOnComplete = true]booleann/a

Return Values

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

Example

<?php
//Set the variables for the example
$intErrorCode 124;
$strCustomDescription null;
$blExitOnComplete true;

//Call the function errorPage with the example vars
\Twist\Classes\Error::errorPage($intErrorCode$strCustomDescription$blExitOnComplete);