Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var KitexUnusedProtection = struct{}{}
KitexUnusedProtection is used to prevent 'imported and not used' error.
Functions ¶
This section is empty.
Types ¶
type Err ¶
type Err int64
const ( Err_Success Err = 0 Err_ParamsErr Err = 1 Err_ServiceErr Err = 2 Err_RPCInteractionErr Err = 10000 Err_InteractionServerErr Err = 10001 Err_RPCSocialityErr Err = 20000 Err_SocialityServerErr Err = 20001 Err_RPCUserErr Err = 30000 Err_UserServerErr Err = 30001 Err_UserAlreadyExistErr Err = 30002 Err_UserNotFoundErr Err = 30003 Err_AuthorizeFailErr Err = 30004 Err_RPCVideoErr Err = 40000 Err_VideoServerErr Err = 40001 Err_RPCChatErr Err = 50000 Err_ChatServerErr Err = 50001 )
func ErrFromString ¶
Click to show internal directories.
Click to hide internal directories.