title: Try-catch in Vimscript
body: <p>I am trying to catch an error (E490) in Vim like this:</p>
  
  <pre><code>:try | foldopen! | catch | | endtry
  </code></pre>
  
  <p>Still, when executing this, Vim shows the error:</p>
  
  <pre><code>Error detected while processing :
  E490: No fold found
  </code></pre>
  
  <p>I would like to open all folds if any are present.</p>
  
  <p>Any ideas?</p>