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

Struct Error

internal/status/status.go:207–209  ·  view source on GitHub ↗

Error wraps a pointer of a status proto. It implements error and Status, and a nil *Error should never be returned by this package.

Source from the content-addressed store, hash-verified

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.
207type Error struct {
208 s *Status
209}
210
211func (e *Error) Error() string {
212 return e.s.String()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected