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

# SeamError

> Errors thrown by `Seam` for initialization, usage, and credential-precondition failures.

## Overview

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

Errors thrown by `Seam` for initialization, usage, and credential-precondition failures.

***

## Enumeration Cases

### `SeamError.alreadyInitialized`

SDK is already initialized; call `deactivate(deintegrate:)` before reinitializing.

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

### `SeamError.credentialErrors(_:)`

One or more credential-specific errors occurred.

```swift theme={null}
case credentialErrors([SeamCredentialError])
```

**Parameters**

| Parameter | Description                                                        |
| --------- | ------------------------------------------------------------------ |
| `errors`  | List of `SeamCredentialError` values for the specified credential. |

### `SeamError.deactivationInProgress`

A deactivation operation is already in progress.

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

### `SeamError.initializationRequired`

SDK has not been initialized; call `initialize(clientSessionToken:)` first.

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

### `SeamError.integrationNotFound`

No credential matching the specified credential was found. This usually indicates that the provider integration wasn’t included when installing the Seam SDK via your package manager.

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

### `SeamError.internetConnectionRequired`

Network connection is required to perform this operation.

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

### `SeamError.invalidClientSessionToken`

Provided client session token is malformed or invalid.

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

### `SeamError.invalidCredentialId`

No credential matching the specified identifier was found.

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