Documentation ¶
Index ¶
- Variables
- func Cause(err error) error
- func Errorf(format string, args ...interface{}) error
- func Errors(errs ...error) error
- func New(message string) error
- func Panic(err error) *SpringUtils.PanicCond
- func UnknownError(r interface{}) error
- func WithMessage(err error, message string) error
- func WithMessagef(err error, format string, args ...interface{}) error
- func WithStack(err error) error
- func Wrap(err error, message string) error
- func Wrapf(err error, format string, args ...interface{}) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrCanNotNil = New("shouldn't be nil") //不能为空 ErrMustPointer = New("Must be a pointer") //必须是指针 )
Functions ¶
func UnknownError ¶
func UnknownError(r interface{}) error
func WithMessage ¶
func WithMessagef ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.