Golang errors with stacktraces.
Basically a trimmed down and cleaned up version of https://github.com/palantir/stacktrace.
Because this could be hard to debug:
could not create service
Especially when compared to this:
could not create service
--- at example_test.go:12 (NewController) ---
Caused by: could not create repository
--- at example_test.go:18 (NewService) ---
Caused by: could not connect to database
--- at example_test.go:23 (NewRepository) ---
See the tests for basic usage.
The code is subject to the MIT license.