title: Error Handling in Javascript asynchronous functions. Conceptual query. Possibility of Having an umbrella try-catch in node.js for multiple layers
body: <p>Queries:</p>
  <ol>
  <li><p>Why does the try block not catch the error in the asynchronous
  method in Javascript? Could it be understood in terms of execution
  context?</p>
  </li>
  <li><p>Is there a way in which we could wrap all error handling in the
  entry file or at a higher level?</p>
  </li>
  </ol>
  <p>Context:
  In a multi-layer application (e.g. controller, service, DAO) in PHP, an umbrella try-catch block in the controller layer could catch the errors in any of the lower layers.
  Is it possible to do something similar in node.js?</p>