code
Represents the status code
For the semantics of status codes see https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/trace/api.md#set-status
Constants
ok
type: U64
The span has been validated to have been completed/processed successfully.
error
type: U64
The span contains an error
unset
type: U64
The default status.