NSError(FBError)
Lớp này không còn khả dụng trong phiên bản gần đây nhất của SDK.
Đã có phiên bản mới hơn của lớp này. Hãy kiểm tra phiên bản mới nhất.

Adds additional properties to NSError to provide more information for Facebook related errors.

Extends Class:NSError
Declared in:NSError(FBError).h
Thuộc tính
fberrorCategory

Categorizes the error, if it is Facebook related, to simplify application mitigation behavior

@property (readonly) FBErrorCategory fberrorCategory;
Discussion:

In general, in response to an error connecting to Facebook, an application should, retry the operation, request permissions, reconnect the application, or prompt the user to take an action. The error category can be used to understand the class of error received from Facebook. For more infomation on this see https://developers.facebook.com/docs/reference/api/errors/

Đã tuyên bố trong: NSError(FBError).h
fberrorIsTransient

YES if this error is transient and may succeed if the initial action is retried as-is. Application may use this information to display a "Retry" button, if user should be notified about this error.

@property (readonly) BOOL fberrorIsTransient;
Đã tuyên bố trong: NSError(FBError).h
fberrorShouldNotifyUser

If YES indicates that a user action is required in order to successfully continue with the Facebook operation.

@property (readonly) BOOL fberrorShouldNotifyUser;
Discussion:

In general if fberrorShouldNotifyUser is NO, then the application has a straightforward mitigation, such as retry the operation or request permissions from the user, etc. In some cases it is necessary for the user to take an action before the application continues to attempt a Facebook connection. For more infomation on this see https://developers.facebook.com/docs/reference/api/errors/

Đã tuyên bố trong: NSError(FBError).h
fberrorUserMessage

A message suitable for display to the user, describing a user action necessary to enable Facebook functionality. Not all Facebook errors yield a message suitable for user display; however in all cases where fberrorShouldNotifyUser is YES, this property returns a localizable message suitable for display.

@property (readonly, copy) NSString *fberrorUserMessage;
Đã tuyên bố trong: NSError(FBError).h
fberrorUserTitle

A short summary of this error suitable for display to the user. Not all Facebook errors yield a message/title suitable for user display; However in all cases when title is available, user should be notified.

@property (readonly, copy) NSString *fberrorUserTitle;
Đã tuyên bố trong: NSError(FBError).h