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

# Class AuthorizationCodeGrantError

#### Hierarchy (View Summary)

- SdkError
  - AuthorizationCodeGrantError

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

#####
Index

### Constructors

constructor

### Properties

cause
code

##
Constructors

### constructor

- new AuthorizationCodeGrantError(
  __namedParameters: { cause: OAuth2Error; message?: string },
  ): AuthorizationCodeGrantError

  #### Parameters

  - __namedParameters: { cause: OAuth2Error; message?: string }

  #### Returns AuthorizationCodeGrantError

  Overrides SdkError.constructor

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

##
Properties

### cause

cause: OAuth2Error

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

### code

code: string = "authorization_code_grant_error"

Overrides SdkError.code

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