Span.recordException()

Signature

Object recordException(Span span, Object throwable)

Domain

ACTION

Description

Records information about the exception to the Span.

Parameters

NameTypeDescription
spanObjectSpan object.
throwableObjectAn exception to record.

Returns

TypeDescription
ObjectReturns a Span object.

Cautions

none