Skip to main content

Command Palette

Search for a command to run...

How do you handle errors in Go?

Published
•1 min read•View as Markdown
B
Senior Software Engineer | Backend, Cloud, Data, Machine Learning

There are two types of errors in Go:

  1. Syntax errors

  2. Runtime errors

Syntax errors are usually easy to fix, because they are usually caused by a typo. Runtime errors are more difficult to fix, because they are usually caused by a bug in the code.

More from this blog

yesicbap

437 posts