https://github.com/speijnik/go-errortree
Go library for handling errors organized as a tree
https://github.com/speijnik/go-errortree
error error-handling go golang
Last synced: about 1 month ago
JSON representation
Go library for handling errors organized as a tree
- Host: GitHub
- URL: https://github.com/speijnik/go-errortree
- Owner: speijnik
- License: mit
- Created: 2017-04-30T18:32:27.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2018-03-21T13:05:55.000Z (almost 8 years ago)
- Last Synced: 2024-11-13T06:33:26.620Z (about 1 year ago)
- Topics: error, error-handling, go, golang
- Language: Go
- Size: 11.7 KB
- Stars: 59
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# go-errortree
[](https://godoc.org/github.com/speijnik/go-errortree)
[](https://travis-ci.org/speijnik/go-errortree)
[](https://codecov.io/gh/speijnik/go-errortree)
[](https://goreportcard.com/report/github.com/speijnik/go-errortree)
`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](example_config_validation_test.go) file.
The code is released under the terms of the MIT license.