Options
All
  • Public
  • Public/Protected
  • All
Menu

@jchip/error

Index

Functions

aggregateErrorStack

  • build the aggregate stack of an AggregateError

    Parameters

    Returns string

    aggregate stack

aggregateStack

  • aggregateStack(stack: string, errors: any[]): string
  • Build stack of aggregate errors

    Parameters

    • stack: string

      top error

    • errors: any[]

      aggregated errors

    Returns string

    aggregate stack

cleanErrorStack

  • cleanErrorStack(error: Error, __namedParameters?: CleanErrorStackOptions): string
  • Return the stack text of an error with internal modules removed

    Parameters

    • error: Error

      error

    • __namedParameters: CleanErrorStackOptions = {}

    Returns string

    cleaned up stack trace

Generated using TypeDoc