Options
All
  • Public
  • Public/Protected
  • All
Menu

Error class for invalid config files.

Hierarchy

  • Error
    • InvalidConfigError

Index

Methods

  • captureStackTrace(targetObject: object, constructorOpt?: Function): void
  • Create .stack property on a target object

    Parameters

    • targetObject: object
    • Optional constructorOpt: Function

    Returns void

Properties

prepareStackTrace?: ((err: Error, stackTraces: CallSite[]) => any)

Type declaration

stackTraceLimit: number
configKey: string
configValue: any
message: string
name: string
stack?: string

Constructors

  • new InvalidConfigError(message: string, configKey: string, configValue: any): InvalidConfigError
  • Constructor.

    Parameters

    • message: string

      Message of the error

    • configKey: string

      The name of the key that is invalid

    • configValue: any

      The value in the config that is invalid

    Returns InvalidConfigError

Generated using TypeDoc