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

# Class ConfigurationError

Error class representing a configuration error. Extends the `SdkError` class.

#### Hierarchy (View Summary)

- SdkError
  - ConfigurationError

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

#####
Index

### Constructors

constructor

### Properties

code
missingOptions?

##
Constructors

### constructor

- new ConfigurationError(
  code: string,
  missingOptions?: string[],
  envVarMapping?: Record<string, string>,
  ): ConfigurationError

  Constructs a new `ConfigurationError` instance.

  #### Parameters

  - code: string

    The error code.

  - missingOptions: string[] = []

    Array of missing configuration option names.

  - envVarMapping: Record<string, string> = {}

    Optional mapping of option names to their environment variable names.

  #### Returns ConfigurationError

  Overrides SdkError.constructor

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

##
Properties

### code

code: string

The error code associated with the configuration error.

Overrides SdkError.code

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

### `Optional`missingOptions

missingOptions?: string[]

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