Метод | Описание | |
---|---|---|
createFromException ( Imbo\Exception $exception, |
Create an error based on an exception instance | |
getData ( ) | ||
getDate ( ) : DateTime | Get the date | |
getErrorMessage ( ) : string | Get the error message | |
getHttpCode ( ) : integer | Get the HTTP code | |
getImageIdentifier ( ) : string | Get the image identifier | |
getImboErrorCode ( ) : integer | Get the imbo error code | |
setDate ( DateTime $date ) : |
Set the date | |
setErrorMessage ( string $message ) : |
Set the error message | |
setHttpCode ( integer $code ) : |
Set the HTTP code | |
setImageIdentifier ( string $imageIdentifier ) : |
Set the image identifier | |
setImboErrorCode ( integer $code ) : |
Set the imbo error code |
public static createFromException ( Imbo\Exception $exception, |
||
$exception | Imbo\Exception | An Imbo\Exception instance |
$request | ||
Результат |
public getErrorMessage ( ) : string | ||
Результат | string |
public getImageIdentifier ( ) : string | ||
Результат | string |
public getImboErrorCode ( ) : integer | ||
Результат | integer |
public setDate ( DateTime $date ) : |
||
$date | DateTime | The DateTime instance to set |
Результат |
public setErrorMessage ( string $message ) : |
||
$message | string | The message to set |
Результат |
public setHttpCode ( integer $code ) : |
||
$code | integer | The code to set |
Результат |
public setImageIdentifier ( string $imageIdentifier ) : |
||
$imageIdentifier | string | The image identifier to set |
Результат |
public setImboErrorCode ( integer $code ) : |
||
$code | integer | The code to set |
Результат |