language
Go Errors
Go errors aren't exceptions — they're return values. Common patterns: 'connection refused', 'context deadline exceeded', 'panic: runtime error', 'concurrent map writes', 'no such file or directory'.
Go errors are values, returned alongside results. Use `errors.Is()` and `errors.As()` for typed checks. `context.DeadlineExceeded` and `context.Canceled` are the two main context errors. Panics on nil map writes, slice out-of-bounds, and concurrent map access are runtime errors that crash unless recovered. Goroutine leaks are silent until they aren't.
Official docs
https://pkg.go.dev/errors
Support
https://go.dev/help/