### 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 ## The default status. const UNSET = 0; ## The span has been validated to have been completed/processed successfully. const OK = 1; ## The span contains an error const ERROR = 2;