> ## 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

### errorMessage

Inherited from `ServiceError.errorMessage`.

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

## Type Methods

### fromNetworkError(\_:)

Inherited from `ServiceError.fromNetworkError(_:)`.

```swift theme={null}
static func fromNetworkError(_ error: NetworkError) -> AuthError
```

### fromServiceError(\_:)

Inherited from `ServiceError.fromServiceError(_:)`.

```swift theme={null}
static func fromServiceError(_ error: CrossmintServiceError) -> AuthError
```
