Cheetah
|
Public Member Functions | |
__construct (FacebookResponse $response, FacebookSDKException $previousException=null) | |
getHttpStatusCode () | |
getSubErrorCode () | |
getErrorType () | |
getRawResponse () | |
getResponseData () | |
getResponse () | |
Static Public Member Functions | |
static | create (FacebookResponse $response) |
Protected Attributes | |
$response | |
$responseData | |
Definition at line 33 of file FacebookResponseException.php.
Facebook\Exceptions\FacebookResponseException::__construct | ( | FacebookResponse | $response, |
FacebookSDKException | $previousException = null |
||
) |
Creates a FacebookResponseException.
FacebookResponse | $response | The response that threw the exception. |
FacebookSDKException | $previousException | The more detailed exception. |
Definition at line 51 of file FacebookResponseException.php.
|
static |
A factory for creating the appropriate exception based on the response from Graph.
FacebookResponse | $response | The response that threw the exception. |
Definition at line 69 of file FacebookResponseException.php.
Facebook\Exceptions\FacebookResponseException::getErrorType | ( | ) |
Facebook\Exceptions\FacebookResponseException::getHttpStatusCode | ( | ) |
Returns the HTTP status code
Definition at line 162 of file FacebookResponseException.php.
Facebook\Exceptions\FacebookResponseException::getRawResponse | ( | ) |
Returns the raw response used to create the exception.
Definition at line 192 of file FacebookResponseException.php.
Facebook\Exceptions\FacebookResponseException::getResponse | ( | ) |
Returns the response entity used to create the exception.
Definition at line 212 of file FacebookResponseException.php.
Facebook\Exceptions\FacebookResponseException::getResponseData | ( | ) |
Returns the decoded response used to create the exception.
Definition at line 202 of file FacebookResponseException.php.
Facebook\Exceptions\FacebookResponseException::getSubErrorCode | ( | ) |
|
protected |
Definition at line 38 of file FacebookResponseException.php.
|
protected |
Definition at line 43 of file FacebookResponseException.php.