Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var File_error_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Detail ¶
type Detail struct { Field string `protobuf:"bytes,1,opt,name=field,proto3" json:"field,omitempty"` Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*Detail) Descriptor
deprecated
func (*Detail) GetMessage ¶
func (*Detail) ProtoMessage ¶
func (*Detail) ProtoMessage()
func (*Detail) ProtoReflect ¶
func (x *Detail) ProtoReflect() protoreflect.Message
type Error ¶
type Error struct { Code string `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"` Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` Details []*Detail `protobuf:"bytes,3,rep,name=details,proto3" json:"details,omitempty"` // contains filtered or unexported fields }
func (*Error) Descriptor
deprecated
func (*Error) GetDetails ¶
func (*Error) GetMessage ¶
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.