Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
SystemErr = NewBizError(10001, "system error")
)
Functions ¶
This section is empty.
Types ¶
type BizError ¶
type BizError struct { ErrCode int64 `json:"err_code"` Msg string `json:"msg"` Detail string `json:"detail"` }
func NewBizError ¶
func (*BizError) CloneWithError ¶
Click to show internal directories.
Click to hide internal directories.