File path: dist/twist/Classes/Error.class.php
Namespace: Twist\Classes
handleError
— PHP Error handler to capture all PHP errors so that they can be logged to a file or output into the debug window later.
Name | Description |
---|---|
$intErrorNo | n/a |
$strError | n/a |
$strErrorFile | n/a |
$intErrorLine | n/a |
void — No return information has been documented for this function.
<?php
//Set the variables for the example
$intErrorNo = 124;
$strError = 'foo';
$strErrorFile = 'foo';
$intErrorLine = 124;
//Call the function handleError with the example vars
\Twist\Classes\Error::handleError($intErrorNo, $strError, $strErrorFile, $intErrorLine);