Documentation
¶
Index ¶
- Variables
- type Error
- func (*Error) Descriptor() ([]byte, []int)deprecated
- func (x *Error) GetCode() string
- func (x *Error) GetErrDetail() string
- func (x *Error) GetErrMsg() string
- func (x *Error) GetMsg() string
- func (x *Error) GetStatus() uint32
- func (x *Error) GetTags() map[string]string
- func (x *Error) GetTraceId() string
- func (*Error) ProtoMessage()
- func (x *Error) ProtoReflect() protoreflect.Message
- func (x *Error) Reset()
- func (x *Error) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_proto_errors_v1_errors_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Error ¶
type Error struct {
Status uint32 `protobuf:"varint,1,opt,name=status,proto3" json:"status,omitempty"`
Code string `protobuf:"bytes,2,opt,name=code,proto3" json:"code,omitempty"`
Msg string `protobuf:"bytes,3,opt,name=msg,proto3" json:"msg,omitempty"`
TraceId string `protobuf:"bytes,4,opt,name=trace_id,json=traceId,proto3" json:"trace_id,omitempty"`
ErrMsg string `protobuf:"bytes,5,opt,name=err_msg,json=errMsg,proto3" json:"err_msg,omitempty"`
ErrDetail string `protobuf:"bytes,6,opt,name=err_detail,json=errDetail,proto3" json:"err_detail,omitempty"`
Tags map[string]string `` /* 149-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*Error) Descriptor
deprecated
func (*Error) GetErrDetail ¶
func (*Error) GetTraceId ¶
func (*Error) ProtoMessage ¶
func (*Error) ProtoMessage()
func (*Error) ProtoReflect ¶
func (x *Error) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.