Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type FirstBlock ¶
type FirstBlock struct {
Err error
}
FirstBlock is a Block that stores the first error it receives.
func (*FirstBlock) AddError ¶
func (c *FirstBlock) AddError(e error)
func (*FirstBlock) HasError ¶
func (c *FirstBlock) HasError() bool
type SliceBlock ¶
type SliceBlock struct {
Errs []error
}
SliceBlock is a Block that stores the multiple errors.
func (*SliceBlock) AddError ¶
func (c *SliceBlock) AddError(e error)
func (*SliceBlock) HasError ¶
func (c *SliceBlock) HasError() bool
Click to show internal directories.
Click to hide internal directories.