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

> Kotlin Data Class

**Data Class**

```kotlin theme={null}
data class ServerError(val message: String = "Server error", val statusCode: Int? = null, val cause: Throwable? = null) : AuthError
```

## Constructors

```kotlin theme={null}
constructor(message: String = "Server error", statusCode: Int? = null, cause: Throwable? = null)
```

## Properties

| Property     | Type            | Description                                         |
| ------------ | --------------- | --------------------------------------------------- |
| `cause`      | `Throwable?`    | -                                                   |
| `code`       | `AuthErrorCode` | Stable, machine-readable identifier for this error. |
| `message`    | `String`        | -                                                   |
| `statusCode` | `Int?`          | -                                                   |
