Module api.trace.span_status

Span status represents the status of a span.

Like an HTTP code, but for your span. It is either unset, ok, or error.

Functions

new (code) Returns a new span_status.


Functions

new (code)
Returns a new span_status.

Parameters:

  • code int The status code. Defaults to UNSET.
generated by LDoc 1.4.6 Last updated 2023-01-18 22:27:32