Circle V2 API Docs
    Preparing search index...

    Function markSpanError

    • Marks a span as errored with the given error. Use this when your code catches errors (e.g. safe()-style returns) and so withSpan's native try/catch never sees them.

      Parameters

      • span: Span
      • error: Error

      Returns void