record_error
Method
This is a method of the ApiStats class in the telemetry module.Record a failed call.
Signature
Parameters
No description available.
No description available.
Returns
The result of the operation.
record_error: Record a failed call.
This is a method of the ApiStats class in the telemetry module.Record a failed call.
def record_error(&mut self, duration: Duration, status_code: Option<u16>) -> ()