cherryCode

package
v1.3.14 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 7, 2024 License: MIT Imports: 0 Imported by: 6

Documentation

Index

Constants

View Source
const (
	OK                    int32 = 0  // is ok
	SessionUIDNotBind     int32 = 10 // session uid not bind
	DiscoveryNotFoundNode int32 = 11 // discovery not fond node id
	NodeRequestError      int32 = 12 // node request error
	RPCNetError           int32 = 20 // rpc net error
	RPCUnmarshalError     int32 = 21 // rpc data unmarshal error
	RPCMarshalError       int32 = 22 // rpc data marshal error
	RPCRemoteExecuteError int32 = 23 // rpc remote method executor error

	ActorPathIsNil          int32 = 24 // actor target path is nil
	ActorFuncNameError      int32 = 25 // actor function name is error
	ActorConvertPathError   int32 = 26 // convert to path error
	ActorMarshalError       int32 = 27 // marshal arg error
	ActorUnmarshalError     int32 = 28 // unmarshal arg error
	ActorCallFail           int32 = 29 // actor call fail
	ActorSourceEqualTarget  int32 = 30 // source equal target
	ActorPublishRemoteError int32 = 31 // actor publish remote error
	ActorChildIDNotFound    int32 = 32 // actor child id not found

)

Variables

This section is empty.

Functions

func IsFail

func IsFail(code int32) bool

func IsOK

func IsOK(code int32) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL