We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f2180b4 commit cb3ae76Copy full SHA for cb3ae76
codes/codes.go
@@ -25,7 +25,13 @@ import (
25
"strconv"
26
)
27
28
-// A Code is an unsigned 32-bit error code as defined in the gRPC spec.
+// A Code is a status code defined according to the [gRPC documentation].
29
+//
30
+// Only the codes defined as consts in this package are valid codes. Do not use
31
+// other code values. Behavior of other codes is implementation-specific and
32
+// interoperability between implementations is not guaranteed.
33
34
+// [gRPC documentation]: https://github.com/grpc/grpc/blob/master/doc/statuscodes.md
35
type Code uint32
36
37
const (
0 commit comments