Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CompositeError ¶
type CompositeError struct {
// contains filtered or unexported fields
}
CompositeError An error that is a compsoite of others
func NewCompositeError ¶
func NewCompositeError() *CompositeError
NewCompositeError Create a new empty composite error
func (*CompositeError) Append ¶
func (e *CompositeError) Append(err error)
Append Append a new error onto this composite error
func (*CompositeError) Error ¶
func (e *CompositeError) Error() string
func (*CompositeError) OrNilIfEmpty ¶
func (e *CompositeError) OrNilIfEmpty() error
OrNilIfEmpty Return the composite error itself, or nil if it contains no errors
Click to show internal directories.
Click to hide internal directories.