Options
All
  • Public
  • Public/Protected
  • All
Menu

Class StackUtils

Hierarchy

  • StackUtils

Index

Constructors

constructor

  • Parameters

    Returns StackUtils

Methods

at

  • Parameters

    Returns CallSiteLike

capture

  • Parameters

    • Optional limit: undefined | number
    • Optional startStackFunction: Function

    Returns CallSite[]

  • Parameters

    Returns CallSite[]

captureString

  • captureString(limit?: undefined | number, startStackFunction?: Function): string
  • captureString(startStackFunction: Function): string
  • Parameters

    • Optional limit: undefined | number
    • Optional startStackFunction: Function

    Returns string

  • Parameters

    Returns string

clean

  • clean(stack: string | string[]): string
  • Parameters

    • stack: string | string[]

    Returns string

parseLine

  • Parameters

    • line: string

    Returns StackLineData | null

Static nodeInternals

  • Returns RegExp[]