package
0.0.8
Repository: https://github.com/elastic/go-txfile.git
Documentation: pkg.go.dev

# Functions

FindErrWith returns the first error in the error tree, that matches the given predicate.
FindKind returns the first error that matched `kind`.
FindKindIf returns the first error with a kind that fulfills the user predicate.
FindOp returns the first error with the given `op` value.
Format provides a common formatting implementation for adding the fmt.Formatter interface to custom errors.
GetKind returns the first error kind found in the error tree.
GetOp returns the first errors it's Op value.
Is checks if any error in the error tree matches `kind`.
IsOp checks if any error in the error tree is caused by `op`.
Iter iterates the complete error tree calling fn on each error value found.
Report formats a strings from an error value satisfying a subset of the Error interface.

# Interfaces

Error defines a common error interface type for use with txerr.