- TIBCO BusinessEvents®
- OpenTelemetry
- Span

# Span.recordException()

## Signature

`Object recordException(Span span, Object throwable)`

## Domain

ACTION

## Description

Records information about the exception to the Span.

## Parameters

Name | Type | Description
--- | --- | ---
`span` | `Object` | Span object.
`throwable` | `Object` | An exception to record.

## Returns

Type | Description
--- | ---
`Object` | Returns a Span object.

## Cautions

none