AuthorizationError | @auth0/nextjs-auth0 - v4.4.1
Description: Documentation for @auth0/nextjs-auth0

# Class AuthorizationError

#### Hierarchy (View Summary)

- SdkError
  - AuthorizationError

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

#####
Index

### Constructors

constructor

### Properties

cause
code

##
Constructors

### constructor

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

  #### Parameters

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

  #### Returns AuthorizationError

  Overrides SdkError.constructor

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

##
Properties

### cause

cause: OAuth2Error

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

### code

code: string = "authorization_error"

Overrides SdkError.code

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