Versions in this module Expand all Collapse all v0 v0.0.2 Aug 3, 2022 v0.0.1 Aug 2, 2022 Changes in this version + var File_errors_proto protoreflect.FileDescriptor + 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 + func As(err error) (*Error, bool) + func FromError(err error) *Error + func Parse(err string) *Error + func (*Error) Descriptor() ([]byte, []int) + func (*Error) ProtoMessage() + func (e *Error) Error() string + func (x *Error) GetCode() int32 + func (x *Error) GetDetail() string + func (x *Error) GetId() string + func (x *Error) GetStatus() string + func (x *Error) ProtoReflect() protoreflect.Message + func (x *Error) Reset() + func (x *Error) String() string + type MultiError struct + Errors []*Error + func NewMultiError() *MultiError + func (*MultiError) Descriptor() ([]byte, []int) + func (*MultiError) ProtoMessage() + func (e *MultiError) Append(err *Error) + func (e *MultiError) Error() string + func (e *MultiError) HasErrors() bool + func (x *MultiError) GetErrors() []*Error + func (x *MultiError) ProtoReflect() protoreflect.Message + func (x *MultiError) Reset() + func (x *MultiError) String() string