---
title: ASExtensionError
framework: authenticationservices
role: symbol
role_heading: Structure
path: authenticationservices/asextensionerror
---

# ASExtensionError

A credential provider extension error.

## Declaration

```swift
struct ASExtensionError
```

## Topics

### Identifying the error domain

- [ASExtensionErrorDomain](authenticationservices/asextensionerrordomain.md)

### Error codes

- [credentialIdentityNotFound](authenticationservices/asextensionerror/credentialidentitynotfound.md)
- [failed](authenticationservices/asextensionerror/failed.md)
- [userCanceled](authenticationservices/asextensionerror/usercanceled.md)
- [userInteractionRequired](authenticationservices/asextensionerror/userinteractionrequired.md)
- [ASExtensionError.Code](authenticationservices/asextensionerror/code.md)

### Type Properties

- [errorDomain](authenticationservices/asextensionerror/errordomain.md)
- [matchedExcludedCredential](authenticationservices/asextensionerror/matchedexcludedcredential.md)

## Relationships

### Conforms To

- [CustomNSError](foundation/customnserror.md)
- [Equatable](swift/equatable.md)
- [Error](swift/error.md)
- [Hashable](swift/hashable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Recognizing errors

- [ASExtensionErrorDomain](authenticationservices/asextensionerrordomain.md)
- [ASExtensionError.Code](authenticationservices/asextensionerror/code.md)
