Documentation
¶
Index ¶
- func Contains(err, target error) bool
- func Is(err, target error) bool
- func IsNot(err, target error) bool
- func Join(errs []error, sep string) error
- func JoinToString(errs []error, sep string) (result string)
- func Match(err error) bool
- func NotContains(err, target error) bool
- type Err
- func New(args ...any) *Err
- func NewSkipCaller(skipCaller int, args ...any) *Err
- func NewSkipCallerf(skipCaller int, format string, args ...any) *Err
- func Newf(format string, args ...any) *Err
- func Wrap(err error, msg ...any) *Err
- func WrapSkipCaller(err error, skip int, msg ...any) *Err
- func WrapSkipCallerf(err error, skip int, format string, msg ...any) *Err
- func Wrapf(err error, format string, msg ...any) *Err
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func JoinToString ¶
func NotContains ¶
Types ¶
type Err ¶
type Err struct {
// contains filtered or unexported fields
}
func NewSkipCaller ¶
func (*Err) PrintCause ¶
func (e *Err) PrintCause()
func (*Err) PrintStackTrace ¶
func (e *Err) PrintStackTrace()
Click to show internal directories.
Click to hide internal directories.