title: Do I need to create a Promise object for a failed async fetch?
body: <p>I am using <code>async await</code> to call <code>fetch</code>, but it's not clear to me how to reject the result, and what to return, if the fetch fails. 
  (for example, because the url is incorrect).</p>
  
  <pre><code>async loadJSON(url) {
    try {
        let res = await fetch(url)
        return res.json()
    } 
    catch (err) {
        // do I need to create a new promise here and reject it?
        // or can I just return false?
        return // erm...
    }
  }
  
  // calling the function, preferably without using try catch here
  let result = await loadJSON("bla.php")
  </code></pre>
  
  <p>EDIT</p>
  
  <p>I would like all my fetch and error handling code to be inside <code>loadJSON</code>, so I don't need to sprinkle <code>try catch</code> everywhere around my app.</p>