메소드 | 설명 | |
---|---|---|
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 getImageIdentifier ( ) : string | ||
리턴 | string |
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 |
리턴 |