recordException abstract method

void recordException(
  1. dynamic exception, {
  2. bool escaped,
  3. StackTrace stackTrace,
  4. List<Attribute> attributes,
})

Record metadata about an exception occurring during this span.

Implementation

void recordException(dynamic exception,
    {bool escaped, StackTrace stackTrace, List<api.Attribute> attributes});