iOS SDK Version

FBSDKGraphRequestError

enumFBSDKGraphRequestError{}
FBSDKGraphRequestError Describes the category of Facebook error. See FBSDKGraphRequestErrorKey.
  • The default error category that is not known to be recoverable. Check FBSDKLocalizedErrorDescriptionKey for a user facing message.

    Declaration

    Objective-C
    FBSDKGraphRequestErrorOther=0
    Swift
    caseother=0
  • Indicates the error is temporary (such as server throttling). While a recoveryAttempter will be provided with the error instance, the attempt is guaranteed to succeed so you can simply retry the operation if you do not want to present an alert.

    Declaration

    Objective-C
    FBSDKGraphRequestErrorTransient=1
    Swift
    casetransient=1
  • Indicates the error can be recovered (such as requiring a login). A recoveryAttempter will be provided with the error instance that can take UI action.

    Declaration

    Objective-C
    FBSDKGraphRequestErrorRecoverable=2
    Swift
    caserecoverable=2