Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CompoundError ¶
type CompoundError struct {
// contains filtered or unexported fields
}
CompoundError can contain one or more errors
func (*CompoundError) Add ¶
func (this *CompoundError) Add(e error)
Add appends an error onto the array of errors
func (*CompoundError) Error ¶
func (this *CompoundError) Error() string
Error satisfies the error interface
func (*CompoundError) One ¶
func (this *CompoundError) One() error
One returns the first error if there is only one, or else returns nil
func (*CompoundError) Success ¶
func (this *CompoundError) Success() bool
Success returns true if no errors appended
Click to show internal directories.
Click to hide internal directories.