title: How to handle exception and exit?
body: <p>In my application I have a lot of conditions under which it is non-sensical to run the app further.</p>
  
  <p>Currently I do something like this:</p>
  
  <pre><code>try:
      some_fun()
  except Exception as e:
      print(f'Some short description: {str(e)}')
      sys.exit(1)
  </code></pre>
  
  <p>There is a lot of boilerplate so I'd like to avoid it. I'm looking for something that would allow me to pass the string <code>Some short description</code> as a parameter and automate handling the exception of any kind.</p>