Versions in this module Expand all Collapse all v1 v1.0.0 Jun 24, 2021 Changes in this version + func Code(err error) codes.Code + func Error(c codes.Code, msg string) error + func ErrorProto(s *spb.Status) error + func Errorf(c codes.Code, format string, a ...interface{}) error + type Status = status.Status + func Convert(err error) *Status + func FromContextError(err error) *Status + func FromError(err error) (s *Status, ok bool) + func FromProto(s *spb.Status) *Status + func New(c codes.Code, msg string) *Status + func Newf(c codes.Code, format string, a ...interface{}) *Status