Documentation
¶
Index ¶
- func Errorf(format string, a ...interface{}) error
- func Is(err, target error) bool
- func New(msg string) error
- func NewWithFrameSkip(msg string, skipFrames int) error
- func UnWrapRecursivelyUntil(err error, asserter func(unWrapped error) bool) error
- func Wrap(err error, msg string) error
- func WrapWithFrameSkip(err error, msg string, skipFrames int) error
- func Wrapf(err error, msg string, a ...interface{}) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewWithFrameSkip ¶
NewWithFrameSkip creates a new instance of the base error and allow the user to configure skipFrames. useful when working with error helper functions.
func UnWrapRecursivelyUntil ¶
func WrapWithFrameSkip ¶
WrapWithFrameSkip creates a new error by wrapping an existing error.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.