Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Error
    • WebpackError

Index

Constructors

  • Creates an instance of WebpackError.

    Parameters

    • Optional message: string

    Returns WebpackError

Properties

chunk?: Chunk
details?: string
file?: string
hideStack?: boolean
module?: null | Module
prepareStackTrace?: (err: Error, stackTraces: CallSite[]) => any

Type declaration

    • (err: Error, stackTraces: CallSite[]): any
    • Optional override for formatting stack traces

      Parameters

      • err: Error
      • stackTraces: CallSite[]

      Returns any

stackTraceLimit: number

Methods

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

    Parameters

    • targetObject: object
    • Optional constructorOpt: Function

    Returns void