This segment covers the creation of error types and the use of Go 1.13's error wrapping, as well as a discussion of why Go's error handling is based on returning error values and not throwing exceptions, and how best to handle errors of different kinds.
Slides at: https://github.com/matt4biz/go-class-...