title: Try Catch blocks inside or outside of functions and error handing
body: <p>This is more a general purpose programming question than language specific. I've seen several appraoches to try and catches.</p>
  
  <p>One is you do whatever preprocessing on data you need, call a function with the appropriate arguments and wrap it into a try/catch block.</p>
  
  <p>The other is to simply call a function pass the data and rely on try catches within the function, with the function returning a true/false flag if errors occured.</p>
  
  <p>Third is a combination with a try catch outside the function and inside. However if the functions try catch catches something, it throws out another exception for the try catch block outside the function to catch.</p>
  
  <p>Any thoughts on the pros/cons of these methods for error control or if there is an accepted standard? My googling ninja skills have failed me on finding accurate data on this.</p>