Working with Errors

Working with Errors

Gopher Academy via YouTube Direct link

Returning errors unadorned

6 of 27

6 of 27

Returning errors unadorned

Class Central Classrooms beta

YouTube videos curated by Class Central.

Classroom Contents

Working with Errors

Automatically move to the next video in the Classroom when playback concludes

  1. 1 Intro
  2. 2 Wrapping and the error chain
  3. 3 Error-wrapping support in Go 1.13
  4. 4 Two audiences for errors
  5. 5 A Config struct
  6. 6 Returning errors unadorned
  7. 7 User-facing function
  8. 8 Deciding with errors before 1.13
  9. 9 Annotating errors
  10. 10 Error wrapping
  11. 11 Wrapping errors in Go 1.13
  12. 12 Use errors. As instead of type assertions
  13. 13 Under the hood
  14. 14 Moving to Wrapped Errors
  15. 15 Wrapping Returned Errors
  16. 16 Did we go too far?
  17. 17 Errors and Codes
  18. 18 Stack trace example
  19. 19 Stack trace problems
  20. 20 We tried...
  21. 21 How we don't do it
  22. 22 Execution Traces With Wrap
  23. 23 Standard Formatting
  24. 24 Detailed Formatting
  25. 25 Formatting Removed
  26. 26 Detail Formatting with fmt. Formatter
  27. 27 References

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.