[bandcamp-fetch](../README.md) / FetchError # Class: FetchError ## Hierarchy - `Error` ↳ **`FetchError`** ## Table of contents ### Constructors - [constructor](FetchError.md#constructor) ### Properties - [code](FetchError.md#code) ## Constructors ### constructor • **new FetchError**(`payload`) #### Parameters | Name | Type | | :------ | :------ | | `payload` | `any` | #### Overrides Error.constructor #### Defined in [lib/utils/Fetcher.ts:113](https://github.com/patrickkfkan/bandcamp-fetch/blob/7bb1899/src/lib/utils/Fetcher.ts#L113) ## Properties ### code • `Optional` **code**: `number` #### Defined in [lib/utils/Fetcher.ts:111](https://github.com/patrickkfkan/bandcamp-fetch/blob/7bb1899/src/lib/utils/Fetcher.ts#L111)