Documentation
¶
Index ¶
- func Cause(err error) error
- func CheckErr(err error)
- func New(format string, args ...interface{}) error
- func Wrap(err error) error
- func WrapSkip(err error, skip int) error
- func WrapSkipWithMsg(err error, skip int, format string, args ...interface{}) error
- func WrapWithMsg(err error, format string, args ...interface{}) error
- type Errors
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WrapSkipWithMsg ¶
func WrapWithMsg ¶
WrapWithMsg 平时返回错误使用这个方法进行包装
Types ¶
Click to show internal directories.
Click to hide internal directories.