Documentation ¶
Index ¶
- func AddErrorContext(err error, field, message string) error
- func Cause(err error) error
- func GetErrorContext(err error) map[string]string
- func New(msg string) error
- func Newf(msg string, args ...interface{}) error
- func Wrap(err error, msg string) error
- func Wrapf(err error, msg string, args ...interface{}) error
- type ErrorType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddErrorContext ¶
AddErrorContext adds a context to an error
func GetErrorContext ¶
GetErrorContext returns the error context
Types ¶
Click to show internal directories.
Click to hide internal directories.