---
title: ACErrorCode
framework: Accounts
role: symbol
role_heading: Structure
platforms: [iOS 5.0+, iPadOS 5.0+, Mac Catalyst 13.0+, macOS 10.8+]
path: accounts/acerrorcode
---

# ACErrorCode

Codes for errors that may occur.

## Declaration

```swift
struct ACErrorCode
```

## Topics

### Errors

- [ACErrorUnknown](accounts/acerrorunknown.md)
- [ACErrorAccountMissingRequiredProperty](accounts/acerroraccountmissingrequiredproperty.md)
- [ACErrorAccountAuthenticationFailed](accounts/acerroraccountauthenticationfailed.md)
- [ACErrorAccountTypeInvalid](accounts/acerroraccounttypeinvalid.md)
- [ACErrorAccountAlreadyExists](accounts/acerroraccountalreadyexists.md)
- [ACErrorAccountNotFound](accounts/acerroraccountnotfound.md)
- [ACErrorPermissionDenied](accounts/acerrorpermissiondenied.md)
- [ACErrorAccessInfoInvalid](accounts/acerroraccessinfoinvalid.md)
- [ACErrorClientPermissionDenied](accounts/acerrorclientpermissiondenied.md)
- [ACErrorAccessDeniedByProtectionPolicy](accounts/acerroraccessdeniedbyprotectionpolicy.md)
- [ACErrorCredentialNotFound](accounts/acerrorcredentialnotfound.md)
- [ACErrorFetchCredentialFailed](accounts/acerrorfetchcredentialfailed.md)
- [ACErrorStoreCredentialFailed](accounts/acerrorstorecredentialfailed.md)
- [ACErrorRemoveCredentialFailed](accounts/acerrorremovecredentialfailed.md)
- [ACErrorUpdatingNonexistentAccount](accounts/acerrorupdatingnonexistentaccount.md)
- [ACErrorInvalidClientBundleID](accounts/acerrorinvalidclientbundleid.md)
- [ACErrorDeniedByPlugin](accounts/acerrordeniedbyplugin.md)
- [ACErrorCoreDataSaveFailed](accounts/acerrorcoredatasavefailed.md)
- [ACErrorFailedSerializingAccountInfo](accounts/acerrorfailedserializingaccountinfo.md)
- [ACErrorInvalidCommand](accounts/acerrorinvalidcommand.md)
- [ACErrorMissingTransportMessageID](accounts/acerrormissingtransportmessageid.md)
- [ACErrorCredentialItemNotFound](accounts/acerrorcredentialitemnotfound.md)
- [ACErrorCredentialItemNotExpired](accounts/acerrorcredentialitemnotexpired.md)

### Initializers

- [init(_:)](accounts/acerrorcode/init(_:).md)
- [init(rawValue:)](accounts/acerrorcode/init(rawvalue:).md)

### Instance Properties

- [rawValue](accounts/acerrorcode/rawvalue.md)

## Relationships

### Conforms To

- [BitwiseCopyable](swift/bitwisecopyable.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [Sendable](swift/sendable.md)

## See Also

### Errors

- [ACErrorDomain](accounts/acerrordomain.md)
