Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrMissedArgument = errors.New("missed argument") ErrInvalidArgument = errors.New("invalid argument") ErrInvalidArgumentNumber = errors.New("invalid argument number") ErrInvalidType = errors.New("invalid type") ErrInvalidOperation = errors.New("invalid operation") ErrNotFound = errors.New("not found") ErrNotUnique = errors.New("not unique") ErrTerminated = errors.New("operation is terminated") ErrUnexpected = errors.New("unexpected error") ErrTimeout = errors.New("operation timed out") ErrNotImplemented = errors.New("not implemented") )
Functions ¶
Types ¶
type AggregatedError ¶
type AggregatedError struct {
// contains filtered or unexported fields
}
func NewAggregatedError ¶
func NewAggregatedError(errs []error) AggregatedError
func (AggregatedError) Error ¶
func (e AggregatedError) Error() string
func (AggregatedError) Errors ¶
func (e AggregatedError) Errors() []error
Click to show internal directories.
Click to hide internal directories.