Property | Type | Description | |
---|---|---|---|
$httpCode | integer | The http code. | |
$includeTemplate | string | null | Name of custom include template for the error. |
Method | Description | |
---|---|---|
__construct ( mixed $errorCode, Exception $cause = null, integer | null $httpCode = null ) | Constructor for this error. | |
getDictDescr ( ) : string | Retrieve the error description tag in dictionary. | |
getDictTitle ( ) : string | Retrieve the error title tag in dictionary. | |
getErrorCode ( ) : string | Retrieve the error code given when throwing this error. | |
getParameters ( ) : array | Retrieve the error parameters given when throwing this error. | |
show ( ) | Display this error. |
Method | Description | |
---|---|---|
saveError ( ) : array | Save an error report. | |
setHTTPCode ( ) | Set the HTTP return code for this error. |
public __construct ( mixed $errorCode, Exception $cause = null, integer | null $httpCode = null ) | ||
$errorCode | mixed | One of the error codes defined in the errors dictionary. |
$cause | Exception | The exception which caused this fatal error (if any). Optional. |
$httpCode | integer | null | The HTTP response code to use. Optional. |
public getDictDescr ( ) : string | ||
return | string | The error description tag. |
public getDictTitle ( ) : string | ||
return | string | The error title tag. |
public getErrorCode ( ) : string | ||
return | string | The error code. |
public getParameters ( ) : array | ||
return | array | The parameters. |
protected setHTTPCode ( ) |
public show ( ) |