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

# ServiceError

> Swift Protocol

**Protocol**

```swift theme={null}
protocol ServiceError : Error
```

## Instance Properties

### errorMessage

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

## Type Methods

### fromNetworkError(\_:)

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

### fromServiceError(\_:)

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