Documentation ¶
Index ¶
- Variables
- func WrapAuthenticateFailErrorWithMsg(msg string, args ...interface{}) error
- func WrapAuthorizateFailErrorWithMsg(msg string, args ...interface{}) error
- func WrapDaoError(err error) error
- func WrapDependentUnReadyErrorWithMsg(msg string, args ...interface{}) error
- func WrapDirtyDataError(err error) error
- func WrapDirtyDataErrorWithMsg(msg string, args ...interface{}) error
- func WrapModelError(err error) error
- func WrapModelErrorWithMsg(msg string, args ...interface{}) error
- func WrapParamError(err error) error
- func WrapParamErrorWithMsg(tip string, args ...interface{}) error
- func WrapRecordExisted(topic ...string) error
- func WrapRecordNotExist(topic ...string) error
- type ResolveResult
Constants ¶
This section is empty.
Variables ¶
View Source
var Cause = errors.Cause
Functions ¶
func WrapDependentUnReadyErrorWithMsg ¶
WrapDependentUnReadyErrorWithMsg Just Service layout invoke
func WrapDirtyDataError ¶
WrapDirtyDataError Just Service layout invoke
func WrapDirtyDataErrorWithMsg ¶
WrapDirtyDataErrorWithMsg Just Service layout invoke
func WrapModelError ¶
WrapModelError Just Service layout invoke
func WrapModelErrorWithMsg ¶
WrapModelErrorWithMsg Just Service layout invoke
func WrapParamError ¶
WrapParamError Just endpoints layout invoke
func WrapParamErrorWithMsg ¶
WrapParamErrorWithMsg Just endpoints invoke
func WrapRecordExisted ¶
WrapRecordExisted Record Existed
func WrapRecordNotExist ¶
Types ¶
type ResolveResult ¶
type ResolveResult struct { ErrNo int Type string Msg string // contains filtered or unexported fields }
func Resolve ¶
func Resolve(err error) *ResolveResult
func (*ResolveResult) FullMsg ¶
func (rr *ResolveResult) FullMsg() string
func (*ResolveResult) String ¶
func (rr *ResolveResult) String() string
Click to show internal directories.
Click to hide internal directories.