Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Handling Go Errors

Gopher Academy via YouTube

Overview

Explore the intricacies of error handling in Go with this GopherCon 2019 talk by Marwan Sulaiman. Dive into programmable errors and learn how to design an architecture that allows for better management of system failures. Discover the importance of context in error handling, why simply checking errors is insufficient, and when stack traces are truly necessary. Gain insights on refactoring goals and find inspiration for improving error management. Understand the concept of operations in error handling, compare errors.Op stack trace with classic stack traces, and explore their benefits. Learn how to query your stack trace effectively, assess error severity, and incorporate application-specific data. By the end of this talk, you'll be equipped to answer critical questions about your Go application's error handling capabilities.

Syllabus

Intro
Learning Syntax
Learning Concepts
Conclusion
Errors are i/o
Context matters
Don't just check errors
Stack traces are for disasters
Refactor Goals
Looking for inspirations
What is an Operation?
errors.Ops stack trace
Classic stack trace
Benefits of errors.Op
Query your stack trace
The Severity Of Your Errors
Application Specific Data
Questions you can answer

Taught by

Gopher Academy

Reviews

Start your review of Handling Go Errors

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.