Chapter 8. Error Sets
Programs fail for many reasons. A file may not exist. Memory allocation may fail. Input may be malformed. A network connection may close unexpectedly.
| Section | Title |
|---|---|
| 1 | Error Sets |
| 2 | Error Unions |
| 3 | Returning Errors |
| 4 | try |
| 5 | catch |
| 6 | defer and errdefer |
| 7 | Designing Error Boundaries |
| 8 | Exercises |