whole_func_string: function handleNotOk({ json, response }) {
    // NOTE: `response.ok` is true when the returned status is in the inclusive range 200-299.
    if (!response.ok && !json.messageToUser) {
      const error = new Error(response.statusText);
  
      error.name = `${response.status} on ${response.url}`;
  
      throw error;
    }
  
    return { json, response };
  }
func_code_string: function handleNotOk({ json, response }) {
    // NOTE: `response.ok` is true when the returned status is in the inclusive range 200-299.
    if (!response.ok && !json.messageToUser) {
      const error = new Error(response.statusText);
  
      error.name = `${response.status} on ${response.url}`;
  
      throw error;
    }
  
    return { json, response };
  }
func_documentation_string: $handleMessage $handleAnalytics