4 go-errortree - Go library for handling errors organized as a tree

github.com godoc.org goreportcard.com posted by speijnik 171 days ago  

go-errortree is a Go library for handling errors organized as a tree. The rationale behind this is that using https://github.com/hashicorp/go-multierror for errors which are generated from a tree-like structure, such as the validation of a configuration file, is tedious to write and test using the combination of multierror.Append and multierror.Prefix.

go-errortree tries to cover this exact use-case, enabling short, concise code and related unit-tests.


Feedback regarding the overall design of the library, quality of the library code and tests would be greatly appreciated.
Register to comment or vote on this story