Versions in this module Expand all Collapse all v1 v1.50.0 Sep 24, 2021 v1.41.0 Sep 23, 2021 Changes in this version + func Err(c codes.Code, msg string) error + func Errorf(c codes.Code, format string, a ...interface{}) error + type Error struct + func (e *Error) Error() string + func (e *Error) GRPCStatus() *Status + func (e *Error) Is(target error) bool + type Status struct + func FromProto(s *spb.Status) *Status + func New(c codes.Code, msg string) *Status + func Newf(c codes.Code, format string, a ...interface{}) *Status + func (s *Status) Code() codes.Code + func (s *Status) Details() []interface{} + func (s *Status) Err() error + func (s *Status) Message() string + func (s *Status) Proto() *spb.Status + func (s *Status) String() string + func (s *Status) WithDetails(details ...proto.Message) (*Status, error)