Class FacebookApiException - echiong/testRepo GitHub Wiki
##Class FacebookApiException
Thrown when an API call returns an exception.
Package: [[application<a href="Package application.libraries.md">libraries]]
Author:
Naitik Shah <[email protected]>
Located at application/libraries/facebook.php
##Methods summary
public __construct ( array $result )
Make a new API Exception with the given result.
Parameters
$result
array
$result The result from the API server
###Overrides Exception::__construct()
public array getResult ( )
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
string
public string __toString ( )
To make debugging easier.
Returns
string
The string representation of the error
###Overrides Exception::__toString()
Methods inherited from Exception
getCode()
getFile()
getLine()
getMessage()
getPrevious()
getTrace()
getTraceAsString()
<table class="summary" id="properties">
<caption>Properties summary</caption>
<tr data-order="result" id="$result">
<td class="attributes"><code>
protected
mixed
</code></td>
<td class="name">
$result
<div class="description detailed">
The result from the API server that represents the exception information.
</div>
</div></td>
</tr>
</table>
<table class="summary inherited">
<caption>Properties inherited from <a href="Class Exception.md#properties">Exception</a></caption>
<tr>
<td><code>
<a href="Class Exception.md#$code"><var>$code</var></a>,
<a href="Class Exception.md#$file"><var>$file</var></a>,
<a href="Class Exception.md#$line"><var>$line</var></a>,
<a href="Class Exception.md#$message"><var>$message</var></a>
</code></td>
</tr>
</table>