set_error
Method
This is a method of the Span class in the trace module.Mark as error.
Signature
Parameters
No description available.
Returns
The result of the operation.
set_error: Mark as error.
This is a method of the Span class in the trace module.Mark as error.
def set_error(&mut self, message: impl Into<String>) -> ()