MCPcopy
hub / github.com/grpc/grpc-go / customError

Struct customError

status/status_test.go:149–153  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

147}
148
149type customError struct {
150 Code codes.Code
151 Message string
152 Details []*anypb.Any
153}
154
155func (c customError) Error() string {
156 return fmt.Sprintf("rpc error: code = %s desc = %s", c.Code, c.Message)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected