Skip to content

Go error wrapping and formatting with loggable structured parameters

License

Notifications You must be signed in to change notification settings

palantir/witchcraft-go-error

Repository files navigation

Autorelease

witchcraft-go-error

witchcraft-error-go defines the werror package, which provides an implementation of the error interface that stores safe and unsafe parameters and has the ability to specify another error as a cause.

Associating structured safe and unsafe parameters with an error allows other infrastructure such as logging to make decisions about what parameters should or should not be extricated.

TODO:

  • Provide example usage and output in README

License

This project is made available under the Apache 2.0 License.

About

Go error wrapping and formatting with loggable structured parameters

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published