Versions in this module Expand all Collapse all v2 v2.0.1 Jan 13, 2020 Changes in this version + const AppName + const Version + const VersionInt + func As(err error, target interface{}) bool + func AttachTo(container *withCauses, errs ...error) + func CanAs(err interface{}) (ok bool) + func CanAttach(err interface{}) bool + func CanCause(err interface{}) bool + func CanIs(err interface{}) (ok bool) + func CanUnwrap(err interface{}) (ok bool) + func Cause(err error) error + func Cause1(err error) error + func ContainerIsEmpty(container error) bool + func DumpStacksAsString(allRoutines bool) string + func Is(err, target error) bool + func New(message string, args ...interface{}) error + func NewContainer(message string, args ...interface{}) *withCauses + func Unwrap(err error) error + func WithCause(cause error, msg string) error + func WithStack(cause error) error + func Wrap(err error, message string, args ...interface{}) error + type Frame uintptr + func (f Frame) Format(s fmt.State, verb rune) + type StackTrace []Frame + func (st StackTrace) Format(s fmt.State, verb rune) Other modules containing this package github.com/hedzr/errors