1.0.0-alpha.2 • Published 6 years ago

@liquid-labs/terror v1.0.0-alpha.2

Weekly downloads
-
License
ISC
Repository
github
Last release
6 years ago

terror

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.

Usage

TODO