cockroachdb / errors

Go error library with error portability over the network
Apache License 2.0
2.07k stars 66 forks source link

Fix support for Go 1.16. #68

Closed knz closed 3 years ago

knz commented 3 years ago

Found while working on #67.

In Go 1.16, the error type os.PathError was moved to a different package. This requires a type migration to be present to ensure the error can be properly decoded across processes built with different go versions.


This change is Reviewable

knz commented 3 years ago

thanks!