MCPcopy Create free account
hub / github.com/cockroachdb/errors / encodeGoGoStatus

Function encodeGoGoStatus

extgrpc/ext_grpc.go:160–162  ·  view source on GitHub ↗

encodeGoGoStatus encodes a GoGo Status error. It calls encodeGrpcStatus, since it can handle both kinds.

(ctx context.Context, err error)

Source from the content-addressed store, hash-verified

158// encodeGoGoStatus encodes a GoGo Status error. It calls encodeGrpcStatus, since
159// it can handle both kinds.
160func encodeGoGoStatus(ctx context.Context, err error) (string, []string, proto.Message) {
161 return encodeGrpcStatus(ctx, err)
162}
163
164// decodeGoGoStatus is similar to decodeGrpcStatus, but decodes into a gogo
165// Status error instead of a gRPC Status error. It is used when the original

Callers

nothing calls this directly

Calls 1

encodeGrpcStatusFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…