Class FacebookApiException
Thrown when an API call returns an exception.
-
Exception
-
FacebookApiException
Methods summary
public
|
#
__construct( array $result )
Make a new API Exception with the given result.
Make a new API Exception with the given result.
Parameters
- $result
array The result from the API server
|
public
array
|
#
getResult( )
Return the associated result object returned by the API server.
Return the associated result object returned by the API server.
Returns
array The result from the API server
|
public
string
|
#
getType( )
Returns the associated type for the error. This will default to 'Exception'
when a type is not available.
Returns the associated type for the error. This will default to 'Exception'
when a type is not available.
Returns
string
|
public
string
|
#
__toString( )
To make debugging easier.
To make debugging easier.
Returns
string The string representation of the error
|
Properties summary
protected
|
$result
|
|
#
The result from the API server that represents the exception information.
The result from the API server that represents the exception information.
|