Public Member Functions | |
__construct ($result) | |
getResult () | |
getType () | |
__toString () | |
Protected Attributes | |
$result |
Thrown when an API call returns an exception.
Definition at line 15 of file facebook.php.
FacebookApiException.__construct | ( | $ | result | ) |
Make a new API Exception with the given result.
Array | $result the result from the API server |
Definition at line 27 of file facebook.php.
FacebookApiException.__toString | ( | ) |
To make debugging easier.
Definition at line 63 of file facebook.php.
FacebookApiException.getResult | ( | ) |
Return the associated result object returned by the API server.
Definition at line 41 of file facebook.php.
FacebookApiException.getType | ( | ) |
Returns the associated type for the error. This will default to 'Exception' when a type is not available.
Definition at line 51 of file facebook.php.
FacebookApiException.$result [protected] |
The result from the API server that represents the exception information.
Definition at line 20 of file facebook.php.