Versions in this module Expand all Collapse all v1 v1.1.2 Jan 20, 2022 v1.1.1 Jan 20, 2022 Changes in this version + const SupportPackageIsVersion1 + const UnknownCode + const UnknownReason + var File_errors_errors_proto protoreflect.FileDescriptor + func Errorf(code, reason, format string, a ...interface{}) error + func Reason(err error) string + type Error struct + Code string + Message string + Metadata map[string]string + Reason string + func FromError(err error) *Error + func New(code, reason, message string) *Error + func Newf(code, reason, format string, a ...interface{}) *Error + func (*Error) Descriptor() ([]byte, []int) + func (*Error) ProtoMessage() + func (e *Error) Error() string + func (e *Error) Is(err error) bool + func (e *Error) WithMetadata(md map[string]string) *Error + func (x *Error) GetCode() string + func (x *Error) GetMessage() string + func (x *Error) GetMetadata() map[string]string + func (x *Error) GetReason() string + func (x *Error) ProtoReflect() protoreflect.Message + func (x *Error) Reset() + func (x *Error) String() string Other modules containing this package gitee.com/dhcy/aithu-protoc/v2