Chapter 3 – Writing a Custom Error Type In the first chapter, we learned the basics of errors in go. How to create an error with a particular message. Then we looked into exposing different types of errors in our packages so that consumers of our code can handle them differently, if appropriate. In the… Read more »
GO uses its capability to return multiple values for error handling, meaning that errors in go are regular values returned from a function. The developer must check the returned error value and handle it accordingly. Error handling can quickly become non-trivial. You may want to change your behaviour if an error occurs, either substitute the… Read more »
This Wednesday we will learn a bit more about one of our teammates, a prolific content creator from South America, Platform Engineer, Heitor Meira de Melo. Heitor is a Brazilian native and works remotely from the warm embrace of that “terrinha maravilhosa” – just to type down this line, made this writer smile with the… Read more »