Handling Go Errors
Offered By: Gopher Academy via YouTube
Course Description
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
Related Courses
A Holistic Go ExperienceGopher Academy via YouTube Safe, Fast, and Easy - Building a Plugin System with WebAssembly
Gopher Academy via YouTube A Journey Through Integration Testing with Go - What Could Go Wrong?
Gopher Academy via YouTube Kraken Wrangling for Dummies - Go Module Dependency Management at Scale
Gopher Academy via YouTube Go, the Data Engineer's Missing Tool?
Gopher Academy via YouTube