Skip to content

liquid-labs/terror

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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