Skip to content

v1.1.0

Compare
Choose a tag to compare
@PeterIvanov PeterIvanov released this 10 Jan 14:59
· 6 commits to master since this release
a6c2e1d

Added support of go 1.13 errors package:

  • errors.Unwrap() works properly for errorx.Error
  • errors.Unwrap() respects opaque (errorx.Error::Wrap()) and transparent (errorx.Decorate()) wrapping contract
  • Unwrapping via errors.Unwrap() works with chains of errorx and non-errorx errors
  • The same behaviour is true for errors.Is()