doc.go
1// Copyright The OpenTelemetry Authors
2// SPDX-License-Identifier: Apache-2.0
3
4/*
5Package codes defines the canonical error codes used by OpenTelemetry.
6
7It conforms to [the OpenTelemetry
8specification](https://github.com/open-telemetry/opentelemetry-specification/blob/v1.20.0/specification/trace/api.md#set-status).
9*/
10package codes // import "go.opentelemetry.io/otel/codes"