Documentation ¶
Index ¶
- func AddError(errs []error, err error, strs ...string) ([]error, bool)
- func AddErrors(errs []error, newErrs []error, strs ...string) ([]error, bool)
- func CastRecoverError(errInterface interface{}, strs ...string) error
- func Cause(err error) error
- func Exit(items ...interface{})
- func FirstError(errs ...error) error
- func HasErrors(errs []error) bool
- func MergeErrItems(items ...interface{}) error
- func New(strs ...string) error
- func Panic(items ...interface{})
- func PrintError(err error, strs ...string)
- func PrintStacktrace(err error)
- func RecoverAndExit(strs ...string)
- func WithStack(err error) error
- func Wrap(err error, strs ...string) error
- func WrapMultiple(errs []error, strs ...string) []error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CastRecoverError ¶
func FirstError ¶
func MergeErrItems ¶
func MergeErrItems(items ...interface{}) error
func PrintError ¶
func PrintStacktrace ¶
func PrintStacktrace(err error)
func RecoverAndExit ¶
func RecoverAndExit(strs ...string)
func WrapMultiple ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.