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