Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Err ¶
type Err int
Err my custorm error enum
const ( ErrPlanIsEmpty Err = 10 + iota // plan is empty ErrManualCreateFailed // manual create operation failed ErrRPCFailed // rpc request failed ErrStageNotMatched // stage not matched ErrNoAvailable // not available ErrUnmarshalFailed // json unmarshal failed ErrGetFailed // get data failed ErrPlanNotSupport // plan not support ErrDBFailed // db operation failed )
define error enum consts
Click to show internal directories.
Click to hide internal directories.