<!--
{
  "availability" : [
    "iOS: 12.0.0 -",
    "iPadOS: 12.0.0 -",
    "macCatalyst: 14.0.0 -",
    "macOS: 11.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AuthenticationServices",
  "identifier" : "/documentation/AuthenticationServices/ASCredentialIdentityStoreError",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "Authentication Services"
    ],
    "preciseIdentifier" : "s:SC34ASCredentialIdentityStoreErrorCodeLeV"
  },
  "title" : "ASCredentialIdentityStoreError"
}
-->

# ASCredentialIdentityStoreError

A credential identity store error.

```
struct ASCredentialIdentityStoreError
```

## Topics

### Error domain

[`let ASCredentialIdentityStoreErrorDomain: String`](/documentation/AuthenticationServices/ASCredentialIdentityStoreErrorDomain)

The domain for a credential identity store error.

[`static var internalError: ASCredentialIdentityStoreError.Code`](/documentation/AuthenticationServices/ASCredentialIdentityStoreError/internalError)

The operation failed due to an internal error.

[`static var storeBusy: ASCredentialIdentityStoreError.Code`](/documentation/AuthenticationServices/ASCredentialIdentityStoreError/storeBusy)

The operation failed because the credential identity store is busy.

[`static var storeDisabled: ASCredentialIdentityStoreError.Code`](/documentation/AuthenticationServices/ASCredentialIdentityStoreError/storeDisabled)

The operation failed because the credential identity store is disabled.

[`enum Code`](/documentation/AuthenticationServices/ASCredentialIdentityStoreError/Code)

Constants that represent credential identity store error codes.

### Description

### Comparing errors

### Type Properties

[`static var errorDomain: String`](/documentation/AuthenticationServices/ASCredentialIdentityStoreError/errorDomain)

## Relationships

### Conforms To

[`Error`](/documentation/Swift/Error)

[`Equatable`](/documentation/Swift/Equatable)

[`Sendable`](/documentation/Swift/Sendable)

[`CustomNSError`](/documentation/Foundation/CustomNSError)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`Hashable`](/documentation/Swift/Hashable)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)