Error indicating a rule has attempted to write a value it directly depends on, or a cached function has called itself, directly or indirectly.

Hierarchy

  • Error
    • CircularDependency

Constructors

  • Parameters

    • Optional message: string

    Returns CircularDependency

Properties

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

Optional override for formatting stack traces

Type declaration

    • (err: Error, stackTraces: CallSite[]): any
    • Parameters

      • err: Error
      • stackTraces: CallSite[]

      Returns any

stack?: string
stackTraceLimit: number

Methods

  • Create .stack property on a target object

    Parameters

    • targetObject: object
    • Optional constructorOpt: Function

    Returns void