Versions in this module Expand all Collapse all v2 v2.9.3 Mar 19, 2021 Changes in this version + func BadRequest(id, format string, a ...interface{}) error + func Conflict(id, format string, a ...interface{}) error + func Equal(err1 error, err2 error) bool + func Forbidden(id, format string, a ...interface{}) error + func InternalServerError(id, format string, a ...interface{}) error + func MethodNotAllowed(id, format string, a ...interface{}) error + func New(id, detail string, code int32) error + func NotFound(id, format string, a ...interface{}) error + func Timeout(id, format string, a ...interface{}) error + func Unauthorized(id, format string, a ...interface{}) error + type Error struct + Code int32 + Detail string + Id string + Status string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func FromError(err error) *Error + func Parse(err string) *Error + func (*Error) Descriptor() ([]byte, []int) + func (*Error) ProtoMessage() + func (e *Error) Error() string + func (m *Error) GetCode() int32 + func (m *Error) GetDetail() string + func (m *Error) GetId() string + func (m *Error) GetStatus() string + func (m *Error) Reset() + func (m *Error) String() string + func (m *Error) XXX_DiscardUnknown() + func (m *Error) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *Error) XXX_Merge(src proto.Message) + func (m *Error) XXX_Size() int + func (m *Error) XXX_Unmarshal(b []byte) error Other modules containing this package gitee.com/eyimi/go-micro