FBSDKGraphRequestErrorCategory Constants Reference
Declared in | FBSDKConstants.h |
FBSDKGraphRequestErrorCategory
@typedef NS_ENUM(NSUInteger, FBSDKGraphRequestErrorCategory)
Definition
typedef NS_ENUM(NSUInteger, FBSDKGraphRequestErrorCategory ) {
FBSDKGraphRequestErrorCategoryOther = 0,
FBSDKGraphRequestErrorCategoryTransient = 1,
FBSDKGraphRequestErrorCategoryRecoverable = 2,
};
Constants
FBSDKGraphRequestErrorCategoryOther
-
The default error category that is not known to be recoverable. Check
FBSDKLocalizedErrorDescriptionKey
for a user facing message.Declared In
FBSDKConstants.h
. FBSDKGraphRequestErrorCategoryTransient
-
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.
Declared In
FBSDKConstants.h
. FBSDKGraphRequestErrorCategoryRecoverable
-
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.
Declared In
FBSDKConstants.h
.
Declared In
FBSDKConstants.h