Documentation

EasyBlogFacebookApiException extends Exception
in package

Thrown when an API call returns an exception.

Tags
author

Naitik Shah naitik@facebook.com

Table of Contents

Properties

$result  : mixed
The result from the API server that represents the exception information.

Methods

__construct()  : mixed
Make a new API Exception with the given result.
__toString()  : string
To make debugging easier.
getResult()  : array<string|int, mixed>
Return the associated result object returned by the API server.
getType()  : string
Returns the associated type for the error. This will default to 'Exception' when a type is not available.

Properties

$result

The result from the API server that represents the exception information.

protected mixed $result

Methods

__construct()

Make a new API Exception with the given result.

public __construct(array<string|int, mixed> $result) : mixed
Parameters
$result : array<string|int, mixed>

The result from the API server

__toString()

To make debugging easier.

public __toString() : string
Return values
string

The string representation of the error

getResult()

Return the associated result object returned by the API server.

public getResult() : array<string|int, mixed>
Return values
array<string|int, mixed>

The result from the API server

getType()

Returns the associated type for the error. This will default to 'Exception' when a type is not available.

public getType() : string
Return values
string

        
On this page

Search results