Get unlimited access
Open in app
Home
Notifications
Lists
Stories

Write
Sher Chowdhury
Sher Chowdhury

Dec 28, 2020

·
1 min read

Error Handling in Go

Photo by Will Porada on Unsplash

Raising errors and error handling are common traits in well-written programs. They make your program more robust and resilient to failure.

This article is part of the Learning Go series

In this series of articles, we’ll look at the different concepts and techniques for raising errors and error handling.

  • Go Error Handling (Part 1) — Errors as Values
  • Go Error Handling (Part 2) — The error Type
  • Go Error Handling (Part 3) — The errors Package
  • Go Error Handling (Part 4) — Error Handling Strategies (Coming Soon)

--

--

More from Sher Chowdhury

Blogger at codingbee.net

Love podcasts or audiobooks? Learn on the go with our new app.

Try Knowable

Recommended from Medium

Dean

Dean

The Switch

Praveen Chandrasekaran

Praveen Chandrasekaran

AWS Cloud Fundamental; Revision for CLF C01 Exam — Part IV

Kyle Weaver

Kyle Weaver

in

USA TODAY NETWORK

The USA TODAY NETWORK’s SRE team’s journey into Docker and Kubernetes. Was it worth it?

Milind Raj

Milind Raj

in

Nerd For Tech

How to storm into a ‘Tech Job’? Bootcamps vs Online Courses vs Master’s Degree vs others?

Fabian Bosler

Fabian Bosler

in

Better Programming

Google Has a Secret Hiring Challenge Called Foobar

Rithvik Reddy Koripelli

Rithvik Reddy Koripelli

in

AWS in Plain English

How I Prepared for the AWS Solutions Architect Associate (SAA-C02) Certification Exam

Matt Levine

Matt Levine

Reflecting (pun intended) on the Level3 Outage

Hauril Maulida Nisfari

Hauril Maulida Nisfari

Learn RESTful API (Part 2)

AboutHelpTermsPrivacy


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
Sher Chowdhury

Sher Chowdhury

Blogger at codingbee.net

More from Medium

Bjørn Hansen

Bjørn Hansen

Simple Golang API + MYSQL Database tutorial

Elijah Omolo

Elijah Omolo

User Creation And Authentication in Golang Part 1

sk shahriar ahmed raka

sk shahriar ahmed raka

Best Ways to Use Environment Variables in Golang

Muhammad Ahmad Khan

Muhammad Ahmad Khan

Implementing OAuth2 in GoLang

OAuth2 with GoLang

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Knowable