set错误状态
Marks the span failed with an ERROR status. The default does nothing; override it to record the status.
Parameters
description
why the span failed.
Marks the span failed with an ERROR status. The default does nothing; override it to record the status.
why the span failed.