Rich, fully attributed context timeout errors in Go (opens in new tab)
Making Go’s generic context deadline exceeded errors traceable with small helpers that attribute the operation that timed out and indicate how long the timeout was.
Read the original article