Skip to content

errors

Compare
Choose a tag to compare
@at15 at15 released this 26 Feb 19:35
· 161 commits to master since this release
1eed5cf
  • #59 replace pkg/errors with gommon/errors, not drop in replacement, no WithMessage and WithStack
  • multi error, a thread safe version (using mutex) is also provided
  • error wrapping
    • only add stack when previous error does not have one
  • gommon generate adds blank line between header and package to avoid being treated as package comment