ABOUT THE AUTHOR

Jakub Podolski

Software Engineer

Jakub Podolski is a software engineer and author on CodiLime's blog. Check out the author's articles on the blog.

Jakub  Podolski

Recent posts by Jakub :

Thumbnail of an article about Golang errors and how to handle them
SOFTWARE DEVELOPMENT

Golang errors and how to handle them

Many programming languages base their error handling around exceptions. Some of them use exceptions when handling abnormal situations, while others use exceptions as a normal redirection in a control flow. For example, an object in Python throws the StopIteration exception when the iterator is exhausted. Go has a rather unique way of handling errors that is very different from the traditional focus on exceptions. In this article, I’ll take a closer look at Go errors and describe how handling them differs from dealing with this issue in other programming languages.