# Functions
As provides a more handy implementation of "errors.As" using generics.
Assertf is like MustErrorf if cond is false, does nothing otherwise.
Errorf creates an error and wraps it.
GetFrames returns the frames from the error, or the current frames the error is not wrapped or is nil.
IgnoreClose calls Close on the given io.Closer, ignoring the returned error.
MaybeMustWrap is like MustWrap, but does nothing if called with a nil error.
MaybeWrap is like Wrap, but returns nil if called with a nil error.
MaybeWrapRecover is like WrapRecover but returns nil if called with a nil value.
MustClose calls Close on the given io.Closer, panicking in case of error.
MustErrorf is like Errorf but panics with the wrapped error instead of returning it.
MustWrap is like Wrap, but panics with the wrapped error instead of returning it.
NewFrame initializes a new frame.
SDump converts the error to a string representation for debug purposes.
Wrap wraps the given errors.
WrapRecover takes a recovered value and converts it to a wrapped error.
# Interfaces
AsHelper describes a method called by errors.As to allow customizing its logic.
IsHelper describes a method called by errors.Is to allow customizing its logic.
UnwrapMulti describes a method which returns multiple errors.
UnwrapSingle describes a method which returns a single error.
# Type aliases
Frames describes a stack of frames.