Documentation ¶
Index ¶
- Variables
- type ErrDetail
- func (*ErrDetail) Descriptor() ([]byte, []int)deprecated
- func (x *ErrDetail) GetMessage() string
- func (x *ErrDetail) GetPolyglot() []string
- func (x *ErrDetail) GetStatus() int32
- func (*ErrDetail) ProtoMessage()
- func (x *ErrDetail) ProtoReflect() protoreflect.Message
- func (x *ErrDetail) Reset()
- func (x *ErrDetail) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // optional int32 lower_bound = 1200; E_LowerBound = &file_err_proto_extTypes[0] // optional int32 upper_bound = 1201; E_UpperBound = &file_err_proto_extTypes[1] )
Extension fields to descriptorpb.EnumOptions.
View Source
var (
// optional err.ErrDetail detail = 1244;
E_Detail = &file_err_proto_extTypes[2]
)
Extension fields to descriptorpb.EnumValueOptions.
View Source
var File_err_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type ErrDetail ¶
type ErrDetail struct { Status *int32 `protobuf:"varint,1,opt,name=status,proto3,oneof" json:"status,omitempty"` Message *string `protobuf:"bytes,2,opt,name=message,proto3,oneof" json:"message,omitempty"` Polyglot []string `protobuf:"bytes,3,rep,name=polyglot,proto3" json:"polyglot,omitempty"` // contains filtered or unexported fields }
func (*ErrDetail) Descriptor
deprecated
func (*ErrDetail) GetMessage ¶
func (*ErrDetail) GetPolyglot ¶
func (*ErrDetail) ProtoMessage ¶
func (*ErrDetail) ProtoMessage()
func (*ErrDetail) ProtoReflect ¶
func (x *ErrDetail) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.