Documentation
¶
Overview ¶
Package simplerr implement error with code
Index ¶
- func GetCode(err error) int
- func GetText(err error) string
- func HasCode(err error, code int) bool
- func Is(err, target error) bool
- func Wrap(err error, msg string) error
- func WrapWithCode(err error, code int, msg string) error
- func Wrapf(err error, tmpl string, args ...interface{}) error
- func WrapfWithCode(err error, code int, 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.