title: How to try/catch in a child function?
body: <p>If I have 2 functions, a parent and a child - what is the best practice/way to handle errors when using a <code>try/catch</code> block?</p>
  <p>In the below example I have 2 functions, child and parent, both with <code>try/catch</code> blocks.</p>
  <p>Is it good/best I remove the try/catch block from the child, as if an error happens, it will be passed to the parents <code>try/catch</code>, then show the error? (Or is there a better way?)</p>
  <pre class="lang-js prettyprint-override"><code>async function childFunc() {
      try {
        await query1()
        await query2()
      } catch(err) {
        throw err
      }
  }
  
  async function parentFunc() {
      try {   
        await childFunc()   
      } catch(err) {   
        console.log(err)
      }
  }
  </code></pre>