blob: a72f62fc6705879df372e4713c9449f8b70d161f [file] [log] [blame] [view]
Sameer Ajmanicda56052015-01-09 13:49:30 -05001This page links to resources about error handling in Go.
2
3## Getting Started
4
5- Read [Effective Go: Errors](https://golang.org/doc/effective_go.html#errors)
6- Code [A Tour of Go: Errors](http://tour.golang.org/methods/8) and do the [exercise](http://tour.golang.org/methods/9)
7- Study [The Go Programming Language Specification: Errors](http://golang.org/ref/spec#Errors)
8- Study [Package errors](http://golang.org/pkg/errors/)
9- Study [func fmt.Errorf](https://golang.org/pkg/fmt/#Errorf)
10
11## Standard Practice
12
13- Read [Why does Go not have exceptions?](http://golang.org/doc/faq#exceptions)
14- Read [Error handling and Go](http://blog.golang.org/error-handling-and-go)
15- Read [Go by Example: Errors](https://gobyexample.com/errors)
Sameer Ajmani08e93ea2015-01-12 22:00:50 -050016- Read [Errors are values](http://blog.golang.org/errors-are-values)
Sameer Ajmania5dc76b2015-01-12 11:23:19 -050017- Read [golang/go/wiki: Errors](Errors)
Sameer Ajmanicda56052015-01-09 13:49:30 -050018
19## Advanced Topics
20
21- Read [Why is my nil error value not equal to nil?](http://golang.org/doc/faq#nil_error)
22- Read [Defer, Panic, and Recover](http://blog.golang.org/defer-panic-and-recover)