>Some saw Exceptions as the advance in error handling we need while Go reverts back to error codes.
Just a note that Go generally uses strings for error handling, not error codes. This avoids the need to look up the meaning of each error codes in a table somewhere.
Testing strings for errors is another example of a left turn in Go's design. Specially in a time of localized applications or OS that change messages between versions.
Just a note that Go generally uses strings for error handling, not error codes. This avoids the need to look up the meaning of each error codes in a table somewhere.