TwistPHP Documentation

getType

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

getTypeDetect the error type as a string based on an error number.

Parameters

Name Type Description
$intErrorNointegern/a

Return Values

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

Example

<?php
//Set the variables for the example
$intErrorNo 124;

//Call the function getType with the example vars
\Twist\Classes\Error::getType($intErrorNo);