Skip to main content

set_error

Method
This is a method of the Span class in the trace module.
Mark as error.

Signature

def set_error(&mut self, message: impl Into<String>) -> ()

Parameters

message
impl Into<String>
required
No description available.

Returns

Returns
()
The result of the operation.