Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type MultipleError ¶
MultipleError type for wrap error around error
func (MultipleError) As ¶
func (s MultipleError) As(target interface{}) bool
As finds the first error in err's chain that matches target, and if so, sets target to that error value and returns true. Otherwise, it returns false.
func (MultipleError) Error ¶
func (s MultipleError) Error() string
Error return string based on error
func (MultipleError) Is ¶
func (s MultipleError) Is(err error) bool
Is reports whether any error in err's chain matches target.
func (MultipleError) Unwrap ¶
func (s MultipleError) Unwrap() error
Click to show internal directories.
Click to hide internal directories.