Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( SimpleErr_name = map[int32]string{ 0: "NoError", 1: "DispatchError", 2: "UnmarshalFailed", 3: "MarshalFailed", 4: "UnknownLang", } SimpleErr_value = map[string]int32{ "NoError": 0, "DispatchError": 1, "UnmarshalFailed": 2, "MarshalFailed": 3, "UnknownLang": 4, } )
Enum value maps for SimpleErr.
View Source
var File_simple_v1_simple_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type SimpleErr ¶
type SimpleErr int32
The first four values of any error enum are to be as shown below.
func (SimpleErr) Descriptor ¶
func (SimpleErr) Descriptor() protoreflect.EnumDescriptor
func (SimpleErr) EnumDescriptor
deprecated
func (SimpleErr) Number ¶
func (x SimpleErr) Number() protoreflect.EnumNumber
func (SimpleErr) Type ¶
func (SimpleErr) Type() protoreflect.EnumType
Click to show internal directories.
Click to hide internal directories.