FacebookRequestError.Category
เวอร์ชั่นที่ใหม่กว่าของคลาสนี้พร้อมแล้ว ตรวจสอบได้ เวอร์ชั่นล่าสุด

An enum that represents the Facebook SDK classification for the error that occurred.

ขยาย:Enum
แพ็คเกจ:facebook
วิธีการคลาส
values()
public static Category values()
valueOf(String)
public static Category valueOf(String name)
พารามิเตอร์คำอธิบาย
name
ค่าคงตัว
AUTHENTICATION_RETRY
Indicates that the error is authentication related, and that the app should retry the request after some user action.
public static final Category AUTHENTICATION_RETRY
AUTHENTICATION_REOPEN_SESSION
Indicates that the error is authentication related, and that the app should close the session and reopen it.
public static final Category AUTHENTICATION_REOPEN_SESSION
PERMISSION
Indicates that the error is permission related.
public static final Category PERMISSION
SERVER
Indicates that the error implies the server had an unexpected failure or may be temporarily unavailable.
public static final Category SERVER
THROTTLING
Indicates that the error results from the server throttling the client.
public static final Category THROTTLING
OTHER
Indicates that the error is Facebook-related but cannot be categorized at this time, and is likely newer than the current version of the SDK.
public static final Category OTHER
BAD_REQUEST
Indicates that the error is an application error resulting in a bad or malformed request to the server.
public static final Category BAD_REQUEST
CLIENT
Indicates that this is a client-side error. Examples of this can include, but are not limited to, JSON parsing errors or IOExceptions.
public static final Category CLIENT