Sets ERROR status (with the error message) on the active span and the Datadog error attributes. No-op without an active span.
Sets ERROR status (with the error message) on the active span and the Datadog error attributes. No-op without an active span.