package
Version:
v0.4.1
Opens a new window with list of versions in this module.
Published: Jan 12, 2021
License: MIT
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 14
Opens a new window with list of known importers.
Documentation
¶
type AppendErr struct {
}
AppendErr a helper error struct that counts and removes duplicates errors.
errors are considered identical if their error signature is the same.
Add an error to stack, appendErr will ignore nil errors
Addf creates an error using fmt.Errorf and adds it to the error list
ErrOrNil returns itself if errors are found or nil
Wrap an error message and add it to the error list.
see errors.Wrap
Wrapf wrap an error message with a formated message
see errors.Wrapf
Source Files
¶
Click to show internal directories.
Click to hide internal directories.