recordException abstract method

void recordException(
  1. dynamic exception, {
  2. StackTrace? stackTrace,
})

Record metadata about an exception occurring during this span.

Implementation

void recordException(dynamic exception, {StackTrace? stackTrace});