code: func shouldNotifyUser(err error) bool {
  	if nerr, ok := err.(net.Error); ok && (nerr.Timeout() || nerr.Temporary()) {
  		return false
  	}
  
  	return true
  }
docs: // shouldNotifyUser return true if the user should be notified of the
  // given error; if it's not a temporary network error or a timeout.