Documentation ¶
Index ¶
- func DClose(c io.Closer)
- func DoesNotExist(err error) bool
- func MapRegexMatches(r *regexp.Regexp, v string) (m map[string]string)
- func NewUUID() string
- func NewWrappedError(message string, cause error) error
- func StrictDecodeJSON(data []byte, out interface{}) error
- func TraverseCauses(err error, check func(input error) error) error
- func Unpack[T any](arr []T, vars ...*T)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DoesNotExist ¶
DoesNotExist reports whether the error is related to absence of file.
func NewWrappedError ¶
func StrictDecodeJSON ¶
func TraverseCauses ¶
TraverseCauses calls a check function on error, which supposed to read the cause error and return it, a filter might be added, which would prevent to traversing down, this method will also return if the same error as input is returned.
Types ¶
This section is empty.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.