Documentation
¶
Index ¶
- func As(err, target error) bool
- func Errorf(format string, a ...interface{}) error
- func Is(err, target error) bool
- func Multi(err error, errs ...error) error
- func New(text string) error
- func Opaque(err error) error
- func Unfold(err error) []error
- func Unwrap(err error) error
- func Wrap(err error) error
- type Frame
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Frame ¶
type Frame struct {
// contains filtered or unexported fields
}
A Frame contains part of a call stack.
func Caller ¶
Caller returns a Frame that describes a frame on the caller's stack. The argument skip is the number of frames to skip over. Caller(0) returns the frame for the caller of Caller.
Click to show internal directories.
Click to hide internal directories.