7fac7e32f3
syserror allows packages to register translators for errors. These translators should be called prior to checking if the error is valid, otherwise it may not account for possible errors that can be returned from different packages, e.g. safecopy.BusError => syserror.EFAULT. Second attempt, it passes tests now :-) PiperOrigin-RevId: 363714508 |
||
---|---|---|
.. | ||
BUILD | ||
syserror.go | ||
syserror_test.go |