A comprehensive error handling library for Go
*errorx.Error
https://github.com/joomcode/errorx/pull/42
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 contracterrors.Unwrap()
works with chains of errorx
and non-errorx
errorserrors.Is()
Add go modules support.