errorV1

package
v0.2.10-1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 19, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

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) Descriptor() ([]byte, []int)

Deprecated: Use Error.ProtoReflect.Descriptor instead.

func (*Error) GetCode

func (x *Error) GetCode() string

func (*Error) GetErrDetail

func (x *Error) GetErrDetail() string

func (*Error) GetErrMsg

func (x *Error) GetErrMsg() string

func (*Error) GetMsg

func (x *Error) GetMsg() string

func (*Error) GetStatus

func (x *Error) GetStatus() uint32

func (*Error) GetTags

func (x *Error) GetTags() map[string]string

func (*Error) GetTraceId

func (x *Error) GetTraceId() string

func (*Error) ProtoMessage

func (*Error) ProtoMessage()

func (*Error) ProtoReflect

func (x *Error) ProtoReflect() protoreflect.Message

func (*Error) Reset

func (x *Error) Reset()

func (*Error) String

func (x *Error) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL