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

# NetworkError.HttpError

> Kotlin Data Class

**Data Class**

```kotlin theme={null}
data class HttpError(val statusCode: Int, val message: String, val cause: Throwable? = null, val body: String? = null) : NetworkError
```

## Constructors

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

## Properties

| Property     | Type               | Description                                                                                                                                                              |
| ------------ | ------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `body`       | `String?`          | Raw response body, when message does not already carry it verbatim. Lets callers parse stable error codes (e.g. `DEVICE_SIGNER_NOT_SUPPORTED`) without scraping message. |
| `cause`      | `Throwable?`       | -                                                                                                                                                                        |
| `code`       | `NetworkErrorCode` | Stable, machine-readable identifier for this error.                                                                                                                      |
| `message`    | `String`           | -                                                                                                                                                                        |
| `statusCode` | `Int`              | -                                                                                                                                                                        |
