Facebook Developers
DocsToolsSupportNewsApps
Log In
  • Social Plugins
  • Facebook Login
  • Open Graph
  • Facebook APIs
  • Games
  • Payments
  • App Center
  • Promote Your App
  • iOS
  • Android
  • JavaScript
  • PHP
  • More SDKs
  • Methods
    • API Requests
    • Async API Requests
    • Authentication
    • Dialogs
    • Helpers
  • Interfaces
    • -
    • DialogListener
  • Errors
    • DialogError
    • FacebookError

FacebookError

The FacebookError class encapsulates the Facebook Error - a Facebook request that could not be fulfilled. These are defined in FacebookError.java.

Methods


FacebookError(String message):

Constructor for the FacebookError class.

Parameters

message - The message for this error.



FacebookError(String message, String type, int code):

Constructor for the FacebookError class.

Parameters

message - The message for this error.

type - Type of the error message.

code - Error code returned by Facebook


int getErrorCode():

Get the error code for this error.

Parameters

None

Return Value

Error code for this object


String getErrorType():

Get the error type for this error.

Parameters

None

Return Value

Error type for this object

Updated over a year ago
Facebook © 2013 · English (US)
AboutAdvertisingCareersPlatform PoliciesPrivacy Policy