package status
Import Path
google.golang.org/genproto/googleapis/rpc/status (on go.dev)
Dependency Relation
imports 5 packages, and imported by 2 packages
Involved Source Files
status.pb.go
Package-Level Type Names (only one)
The `Status` type defines a logical error model that is suitable for
different programming environments, including REST APIs and RPC APIs. It is
used by [gRPC](https://github.com/grpc). Each `Status` message contains
three pieces of data: error code, error message, and error details.
You can find out more about this error model and how to work with it in the
[API Design Guide](https://cloud.google.com/apis/design/errors).
The status code, which should be an enum value of
[google.rpc.Code][google.rpc.Code].
A list of messages that carry the error details. There is a common set of
message types for APIs to use.
A developer-facing error message, which should be in English. Any
user-facing error message should be localized and sent in the
[google.rpc.Status.details][google.rpc.Status.details] field, or localized
by the client.
Deprecated: Use Status.ProtoReflect.Descriptor instead.
(*Status) GetCode() int32
(*Status) GetDetails() []*anypb.Any
(*Status) GetMessage() string
(*Status) ProtoMessage()
(*Status) ProtoReflect() protoreflect.Message
(*Status) Reset()
(*Status) String() string
*Status : google.golang.org/protobuf/reflect/protoreflect.ProtoMessage
*Status : google.golang.org/protobuf/runtime/protoiface.MessageV1
*Status : expvar.Var
*Status : fmt.Stringer
*Status : github.com/gogo/protobuf/proto.Message
func google.golang.org/grpc/internal/status.RawStatusProto(s *status.Status) *Status
func google.golang.org/grpc/internal/status.(*Status).Proto() *Status
func google.golang.org/grpc/internal/status.FromProto(s *Status) *status.Status
func google.golang.org/grpc/status.ErrorProto(s *Status) error
func google.golang.org/grpc/status.FromProto(s *Status) *status.Status
Package-Level Variables (only one)
![]() |
The pages are generated with Golds v0.8.2. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |