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

# Class: SpaceportError

[index](https://docs.spaceport.xyz/sdk-reference/v0.1.0/index.md).SpaceportError

## Hierarchy

* `Error`

  ↳ **`SpaceportError`**

## Table of contents

#### Properties

* [code](#code)
* [details](#details)

### constructor

• **new SpaceportError**(`message`, `code?`, `details?`): [`SpaceportError`](./spaceport-error)

#### Parameters

| Name | Type |
| :- | :- |
| `message` | `string` |
| `code?` | `string` |
| `details?` | `unknown` |

#### Returns

[`SpaceportError`](./spaceport-error)

#### Overrides

Error.constructor

## Properties

### code

• `Optional` **code**: `string`

### details

• `Optional` **details**: `unknown`


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.