Documentation ¶
Index ¶
Constants ¶
View Source
const ERRNO_BUSY int32 = 3 // system busy
View Source
const ERRNO_INTERNAL int32 = 5 // 系统内部错误
View Source
const ERRNO_INVAL int32 = 2 // Invalid argument
View Source
const ERRNO_NOTEXIST int32 = 4 // 结果不存在
View Source
const ERRNO_OK int32 = 0 //成功
1000以内为通用定义,1000以上请自定义
View Source
const ERRNO_PERM int32 = 1 // 没有权限
View Source
const ERRNO_TIMEOUT int32 = 6 // 请求超时
View Source
const ERRNO_UNKNOWN int32 = 999 // 未知错误 不可重试
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CodeError ¶
func NewCodeErr ¶
func NewErrCode ¶
func NewErrCodeMsg ¶
func (*CodeError) GetErrCode ¶
Click to show internal directories.
Click to hide internal directories.