class Aws::Telemetry::OTelSpan

def record_exception(exception, attributes: nil)

Returns:
  • (void) -

Parameters:
  • Hash{String (Hash{String => String, Numeric, Boolean, Array) -- => String, Numeric, Boolean, Array
  • exception (Exception) -- The exception to be recorded
def record_exception(exception, attributes: nil)
  @span.record_exception(exception, attributes: attributes)
end