AccessTokenForConnectionError | @auth0/nextjs-auth0 - v4.6.1
Description: Documentation for @auth0/nextjs-auth0

# Class AccessTokenForConnectionError

Error class representing an access token for connection error. Extends the `SdkError` class.

#### Hierarchy (View Summary)

- SdkError
  - AccessTokenForConnectionError

- Defined in src/errors/index.ts:126

##### Index

### Constructors

constructor

### Properties

cause?
code

## Constructors

### constructor

- new AccessTokenForConnectionError(
  code: string,
  message: string,
  cause?: OAuth2Error,
  ): AccessTokenForConnectionError

  Constructs a new `AccessTokenForConnectionError` instance.

  #### Parameters

  - code: string

    The error code.

  - message: string

    The error message.

  - `Optional`cause: OAuth2Error

    The OAuth2 cause of the error.

  #### Returns AccessTokenForConnectionError

  Overrides SdkError.constructor

  - Defined in src/errors/index.ts:140

## Properties

### `Optional`cause

cause?: OAuth2Error

- Defined in src/errors/index.ts:131

### code

code: string

The error code associated with the access token error.

Overrides SdkError.code

- Defined in src/errors/index.ts:130