Documentation ¶
Overview ¶
Package simplerr implement error with code
Index ¶
- func GetCode(err error) int64
- func HasCode(err error, code int64) bool
- func Is(err, target error) bool
- func Wrap(err error, msg string) error
- func WrapWithCode(err error, code int64, msg string) error
- func Wrapf(err error, tmpl string, args ...interface{}) error
- func WrapfWithCode(err error, code int64, tmpl string, args ...interface{}) error
- type Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.