> ## Documentation Index
> Fetch the complete documentation index at: https://docs.crossmint.com/llms.txt
> Use this file to discover all available pages before exploring further.

# AuthError

> Swift Enumeration

**Enumeration**

```swift theme={null}
enum AuthError
```

## Enumeration Cases

### AuthError.generic(\_:)

```swift theme={null}
case generic(String)
```

### AuthError.serviceError(\_:)

```swift theme={null}
case serviceError(CrossmintServiceError)
```

### AuthError.signInRequired

```swift theme={null}
case signInRequired
```

## Instance Properties

### code

Inherited from `CrossmintError.code`.

```swift theme={null}
var code: String { get }
```

### message

Inherited from `CrossmintError.message`.

```swift theme={null}
var message: String { get }
```

### recoverySuggestion

Inherited from `CrossmintError.recoverySuggestion`.

```swift theme={null}
var recoverySuggestion: String? { get }
```

### underlyingError

Inherited from `CrossmintError.underlyingError`.

```swift theme={null}
var underlyingError: (any Error)? { get }
```
