Documentation ¶
Index ¶
Constants ¶
View Source
const ( ErrCodeUnknown = ErrCodeModuleRoot + iota // unknown error code ErrCodeInternal // internal error )
define common error code
View Source
const (
ErrCodeModuleRoot = ErrCodeStart * (1 + iota)
)
ErrCodeModuleRoot define error code module, e,g: 10000, 20000, 30000...
View Source
const ErrCodeStart = 10000
ErrCodeStart 错误代码开始值
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.