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