Skip to content

Latest commit

 

History

History
24 lines (15 loc) · 999 Bytes

README.md

File metadata and controls

24 lines (15 loc) · 999 Bytes

Errors

GoDoc

A replacement for errors and pkg/errors. Supports error wrapping, inspection and multi errors.

Issues

  • #54 init
  • #62 support fmt.Formatter

Implementation

  • doc/design contains some survey and design choices we made
  • Wrap checks if this is already a WrappedErr, if not, it attaches stack
  • MultiErr keep a slice of errors, the thread safe version use mutex and returns copy of slice when Errors is called

References and Alternatives