Skip to content

IConfiguardErrorOptions

Defined in: src/ConfiguardError.ts:6

Options for constructing a ConfiguardError. Extends the standard ErrorOptions (so a cause can be attached) with an optional config item key for programmatic handling.

  • ErrorOptions

optional key?: string

Defined in: src/ConfiguardError.ts:8

The config item key this error relates to, if any.


optional cause?: unknown

Defined in: site/node_modules/typescript/lib/lib.es2022.error.d.ts:20

ErrorOptions.cause