Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ErrorChain ¶
type ErrorChain struct {
// contains filtered or unexported fields
}
ErrorChain will chain multiple errors
func (*ErrorChain) Add ¶
func (e *ErrorChain) Add(err error)
Add will place another error in the chain
func (*ErrorChain) Error ¶
func (e *ErrorChain) Error() string
func (*ErrorChain) Errors ¶
func (e *ErrorChain) Errors() []error
Errors will return the errors in the chain
Click to show internal directories.
Click to hide internal directories.