go-errortree icon indicating copy to clipboard operation
go-errortree copied to clipboard

Go library for handling errors organized as a tree

go-errortree

GoDoc Build Status codecov Go Report Card

github.com/speijnik/go-errortree provides functionality for working with errors structured as a tree.

Structuring errors in such a way may be desired when, for example, validating structured input such as a configuration file with multiple sections.

A corresponding example can be found in the example_config_validation_test.go file.

The code is released under the terms of the MIT license.