@r47onfire/nebula - v0.0.0
    Preparing search index...

    Function formatTrace

    • Formats message as file:line:col: message, followed by the source line containing span.begin and a row of ^ under the span begin..end (clipped to that line, with a "..." suffix if the span runs past it).

      getSource supplies the text of a source file by URL; if it returns an empty string, only the header line is produced.

      Parameters

      • span: Span
      • message: string
      • getSource: (url: URL) => string

      Returns string