Structure

ACErrorCode

Codes for errors that may occur.

Declaration

struct ACErrorCode

Topics

Errors

var ACErrorUnknown: ACErrorCode

Error code indicating that an unknown error occurred.

var ACErrorAccountMissingRequiredProperty: ACErrorCode

Error code indicating an account wasn’t saved because a required property is missing.

var ACErrorAccountAuthenticationFailed: ACErrorCode

Error code indicating an account wasn’t saved because authentication of its credential failed.

var ACErrorAccountTypeInvalid: ACErrorCode

Error code indicating an account wasn’t saved because its account type is invalid.

var ACErrorAccountAlreadyExists: ACErrorCode

Error code indicating an account wasn’t added because it already exists.

var ACErrorAccountNotFound: ACErrorCode

Error code indicating an account wasn’t deleted because it couldn’t be found.

var ACErrorPermissionDenied: ACErrorCode

Error code indicating that the operation failed because the application doesn’t have permission to perform the operation.

var ACErrorAccessInfoInvalid: ACErrorCode

Error code indicating that the client’s access info dictionary has incorrect or missing values.

var ACErrorClientPermissionDenied: ACErrorCode

Error code indicating that the client doesn’t have access to the requested data.

var ACErrorAccessDeniedByProtectionPolicy: ACErrorCode

Error code indicating that due to the current protection policy, the credentials couldn’t be fetched.

var ACErrorCredentialNotFound: ACErrorCode

Error code indicating that no credentials were found.

var ACErrorFetchCredentialFailed: ACErrorCode

Error code indicating that the credentials couldn’t be fetched from Keychain.

var ACErrorStoreCredentialFailed: ACErrorCode

Error code indicating that the credentials couldn’t be stored in Keychain.

var ACErrorRemoveCredentialFailed: ACErrorCode

Error code indicating that the credentials couldn’t be removed from Keychain.

var ACErrorUpdatingNonexistentAccount: ACErrorCode

Error code indicating that an account save failed because the account being updated has been removed.

var ACErrorInvalidClientBundleID: ACErrorCode

Error code indicating that the client making the request doesn’t have a valid bundle ID.

var ACErrorCoreDataSaveFailed: ACErrorCode

Error code indicating that an error occurred while trying to save to a Core Data store.

var ACErrorCredentialItemNotFound: ACErrorCode

Error code indicating that a credential item wasn’t saved because it couldn’t be found.

var ACErrorCredentialItemNotExpired: ACErrorCode

Error code indicating that a credential item wasn’t removed because it hasn’t yet expired.

Initializers

init(UInt32)

Initializes a new error code structure.

init(rawValue: UInt32)

Initializes a new error code structure.

Instance Properties

Relationships

See Also

Errors

let ACErrorDomain: String

The error domain for the Accounts framework.