The terror package implements typed, user friendly errors in go. The typed errors parallel and are compatible with HTTP errors. A typed error has two basic components:
- A user friendly error message meant for viewing by an end-user.
- The original underlying error, if any.
Implementations can thus easily support both communicating directly to the user while maintaining all the raw information one would want to capture in a log.
TODO