Closed someone235 closed 4 years ago
go's native errors.Is and errors.As cannot work with github.com/pkg/errors/ errors because they don't implement Unwrap method. It could be nice if this functions would be implemented, or alternatively, implementing an Unwrap method.
errors.Is
errors.As
github.com/pkg/errors/
Unwrap
go's native
errors.Is
anderrors.As
cannot work withgithub.com/pkg/errors/
errors because they don't implementUnwrap
method. It could be nice if this functions would be implemented, or alternatively, implementing anUnwrap
method.