Skip to content
This repository has been archived by the owner on Jan 13, 2022. It is now read-only.

Latest commit

 

History

History
13 lines (7 loc) · 679 Bytes

FacebookSDKException.md

File metadata and controls

13 lines (7 loc) · 679 Bytes

FacebookSDKException for the Facebook SDK for PHP

Represents an exception thrown by the SDK.

Facebook\Exceptions\FacebookSDKException

A FacebookSDKException is thrown when something goes wrong. For example if an invalid signed request is sent to the Facebook\SignedRequest entity, it will throw an FacebookSDKException.

When an error response is returned from the Graph API, it will be thrown as a FacebookSDKException subtype called a Facebook\Exceptions\FacebookResponseException.

Instance Methods

FacebookSDKException extends from the base \Exception class, so getCode() and getMessage() are available by default.