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

Method String

internal/status/status.go:201–203  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

199}
200
201func (s *Status) String() string {
202 return fmt.Sprintf("rpc error: code = %s desc = %s", s.Code(), s.Message())
203}
204
205// Error wraps a pointer of a status proto. It implements error and Status,
206// and a nil *Error should never be returned by this package.

Callers

nothing calls this directly

Calls 2

CodeMethod · 0.95
MessageMethod · 0.95

Tested by

no test coverage detected