Versions in this module Expand all Collapse all v1 v1.16.9 Mar 28, 2022 v1.16.8 Mar 28, 2022 Changes in this version + func Cause(err error) error + func Code(err error) gcode.Code + func Current(err error) error + func New(text string) error + func NewCode(code gcode.Code, text ...string) error + func NewCodeSkip(code gcode.Code, skip int, text ...string) error + func NewCodeSkipf(code gcode.Code, skip int, format string, args ...interface{}) error + func NewCodef(code gcode.Code, format string, args ...interface{}) error + func NewOption(option Option) error + func NewSkip(skip int, text string) error + func NewSkipf(skip int, format string, args ...interface{}) error + func Newf(format string, args ...interface{}) error + func Next(err error) error + func Stack(err error) string + func Wrap(err error, text string) error + func WrapCode(code gcode.Code, err error, text ...string) error + func WrapCodeSkip(code gcode.Code, skip int, err error, text ...string) error + func WrapCodeSkipf(code gcode.Code, skip int, err error, format string, args ...interface{}) error + func WrapCodef(code gcode.Code, err error, format string, args ...interface{}) error + func WrapSkip(skip int, err error, text string) error + func WrapSkipf(skip int, err error, format string, args ...interface{}) error + func Wrapf(err error, format string, args ...interface{}) error + type Error struct + func (err *Error) Cause() error + func (err *Error) Code() gcode.Code + func (err *Error) Current() error + func (err *Error) Error() string + func (err *Error) Format(s fmt.State, verb rune) + func (err *Error) MarshalJSON() ([]byte, error) + func (err *Error) Next() error + func (err *Error) Stack() string + type Option struct + Code gcode.Code + Error error + Stack bool + Text string