// Copyright The OpenTelemetry Authors
// SPDX-License-Identifier: Apache-2.0
namespace OpenTelemetry.Trace;
///
/// Canonical result code of span execution.
///
public enum StatusCode
{
///
/// The default status.
///
Unset = 0,
///
/// The operation completed successfully.
///
Ok = 1,
///
/// The operation contains an error.
///
Error = 2,
}