TWTRErrorCode Constants Reference
Declared in | TWTRConstants.h |
---|
TWTRErrorCode
Error codes surfaced by the Twitter SDK.
Definition
typedef NS_ENUM(NSInteger, TWTRErrorCode ) {
TWTRErrorCodeUnknown = -1,
TWTRErrorCodeNoAuthentication = 0,
TWTRErrorCodeNotInitialized = 1,
TWTRErrorCodeUserDeclinedPermission = 2,
TWTRErrorCodeUserHasNoEmailAddress = 3,
TWTRErrorCodeInvalidResourceID = 4,
TWTRErrorCodeInvalidURL = 5,
TWTRErrorCodeMismatchedJSONType = 6,
TWTRErrorCodeKeychainSerializationFailure = 7,
TWTRErrorCodeDiskSerializationError = 8,
TWTRErrorCodeWebViewError = 9,
TWTRErrorCodeMissingParameter = 10,
};
Constants
TWTRErrorCodeUnknown
-
Unknown error.
Declared In
TWTRConstants.h
. TWTRErrorCodeNoAuthentication
-
Authentication has not been set up yet. You must call [TWTRTwitter logInWithCompletion:] or [TWTRTwitter logInGuestWithCompletion:]
Declared In
TWTRConstants.h
. TWTRErrorCodeNotInitialized
-
Twitter has not been initialized yet. Call [Fabric with:@[TwitterKit]] or [TWTRTwitter startWithConsumerKey:consumerSecret:].
Declared In
TWTRConstants.h
. TWTRErrorCodeUserDeclinedPermission
-
User has declined to grant permission to information such as their email address.
Declared In
TWTRConstants.h
. TWTRErrorCodeUserHasNoEmailAddress
-
User has granted permission to their email address but no address is associated with their account.
Declared In
TWTRConstants.h
. TWTRErrorCodeInvalidResourceID
-
A resource has been requested by ID, but that ID was not found.
Declared In
TWTRConstants.h
. TWTRErrorCodeInvalidURL
-
A request has been issued for an invalid URL.
Declared In
TWTRConstants.h
. TWTRErrorCodeMismatchedJSONType
-
Type mismatch in parsing JSON from the Twitter API.
Declared In
TWTRConstants.h
. TWTRErrorCodeKeychainSerializationFailure
-
Fail to save to keychain.
Declared In
TWTRConstants.h
. TWTRErrorCodeDiskSerializationError
-
Fail to save to disk.
Declared In
TWTRConstants.h
. TWTRErrorCodeWebViewError
-
Error authenticating with the webview.
Declared In
TWTRConstants.h
. TWTRErrorCodeMissingParameter
-
A required parameter is missing.
Declared In
TWTRConstants.h
.
Declared In
TWTRConstants.h