Published in



Error handling in Go

Go does not provide conventional try/catch method to handle the errors, instead, errors are returned as a normal return value. In this article, we are going to explore error handling in Go.





A place to find introductory Go programming language tutorials and learning resources. In this publication, we will learn Go in an incremental manner, starting from beginner lessons with mini examples to more advanced lessons.

Recommended from Medium

How to make a WebRTC GameRoom using the Daily.CO api

JavaScript Closure

Vue Slots Vs Props

Vue Slots Vs Props

Stacks- Infix To Postfix Conversion

Using Hooks to Create a Live Search Feature in React

Building an abstraction for React internationalization messages

Ember QuickTips: How to breakup and import SASS/CSS files separately

A Mental Model to think in TypesScript

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Uday Hiwarale

Uday Hiwarale

Software Engineer at /

More from Medium

Securing gRPC connection with SSL/TLS Certificate using Go

Introduction to gRPC

Mocking HTTP Call in Golang a Better Way

Photo by @jim_reardan on Unsplash

Working on High-Performance Golang Client Library — Remove the Bad Busy Loops With the Sync.Cond