Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AggregateError ¶
type AggregateError struct {
// contains filtered or unexported fields
}
func (*AggregateError) Add ¶
func (this *AggregateError) Add(err error) *AggregateError
Add adds given given error to my list of errors and returns this. If the given error is nil, nothing changes.
func (*AggregateError) AsError ¶
func (this *AggregateError) AsError() error
AsError returns this instance if errors have been added to this instance, nil otherwise
func (*AggregateError) Error ¶
func (this *AggregateError) Error() string
Error returns the combined error messages.
func (*AggregateError) IsEmpty ¶
func (this *AggregateError) IsEmpty() bool
IsEmpty returns true if there are no errors added to me, false otherwise.
Click to show internal directories.
Click to hide internal directories.