InvalidStateError | @auth0/nextjs-auth0 - v4.4.0
Description: Documentation for @auth0/nextjs-auth0

# Class InvalidStateError

#### Hierarchy (View Summary)

- SdkError
  - InvalidStateError

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

#####
Index

### Constructors

constructor

### Properties

code

##
Constructors

### constructor

- new InvalidStateError(message?: string): InvalidStateError

  #### Parameters

  - `Optional`message: string

  #### Returns InvalidStateError

  Overrides SdkError.constructor

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

##
Properties

### code

code: string = "invalid_state"

Overrides SdkError.code

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