Member Junction
    Preparing search index...

    Function CollectErrorText

    • Gather every human-readable string attached to an error into one blob for matching.

      depth bounds the walk so a self-referential error object (which GraphQL clients do produce — err.error === err) cannot spin here.

      Parameters

      • err: unknown
      • depth: number = 0

      Returns string