Overview
Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
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