Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Err_name = map[int32]string{ 0: "ERR_INVALID", 1: "ERR_USER_NOT_FOUND", 2: "ERR_CONTENT_MISSING", } Err_value = map[string]int32{ "ERR_INVALID": 0, "ERR_USER_NOT_FOUND": 1, "ERR_CONTENT_MISSING": 2, } )
Enum value maps for Err.
View Source
var File_errors_proto protoreflect.FileDescriptor
Functions ¶
func ErrContentMissing ¶
func ErrInvalid ¶
func ErrUserNotFound ¶
Types ¶
type Err ¶
type Err int32
错误定义
func (Err) Descriptor ¶
func (Err) Descriptor() protoreflect.EnumDescriptor
func (Err) EnumDescriptor
deprecated
func (Err) Number ¶
func (x Err) Number() protoreflect.EnumNumber
func (Err) Type ¶
func (Err) Type() protoreflect.EnumType
Click to show internal directories.
Click to hide internal directories.