On Wed, Sep 30, 2020 at 11:27 AM 'Axel Wagner' via golang-nuts < golang-nuts@googlegroups.com> wrote:
> Perhaps they haven't because different systems return different ones in >> different circumstances, but I hope Posix means that isn't the case. >> > > Not all platforms Go runs on are Posix. Plan 9 comes to mind, but also > webassembly and embedded devices. > > And even given Posix, you might have small variance in exact interpretation of certain error codes or constants, so it tends to be a good thing to make sure your operating system interprets them as you expect. In addition, many modern APIs live outside the umbrella of Posix, making things even more fluctuating in what you can expect. As a general rule, I tend to go with Alex suggestion: pack them away until they are needed and only use them with surgical precision. -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/CAGrdgiUkxCgkYsPtO9H_n-fvG5J4TwkN5m431afogK-MY9mZ_g%40mail.gmail.com.