Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AppendError ¶
func CollectErrors ¶
func FailOnError ¶
func FailOnError(err error)
func FailOnErrorF ¶
func FailOnErrorF(template string, args ...interface{})
Types ¶
type ErrorContainer ¶
type ErrorContainer struct {
// contains filtered or unexported fields
}
func NewErrorContainer ¶
func NewErrorContainer() *ErrorContainer
func (*ErrorContainer) AddError ¶
func (ec *ErrorContainer) AddError(err error)
func (*ErrorContainer) AddErrorF ¶
func (ec *ErrorContainer) AddErrorF(msg string, args ...interface{})
func (*ErrorContainer) Result ¶
func (ec *ErrorContainer) Result(sep string) error
Click to show internal directories.
Click to hide internal directories.