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

# CustomAuthError

Error thrown when custom authentication fails.

## Extends

* `Error`

## Constructors

### Constructor

```ts theme={null}
new CustomAuthError(message: string): CustomAuthError;
```

Creates a new CustomAuthError.

#### Parameters

| Parameter | Type     | Description        |
| --------- | -------- | ------------------ |
| `message` | `string` | The error message. |

#### Returns

`CustomAuthError`

#### Overrides

```ts theme={null}
Error.constructor
```
