title: Catching a custom exception with cfscript
body: <p>How does one catch a custom exception with <code>try-catch</code> in cfscript? </p>
  
  <pre><code>&lt;cffunction name="myFunction"&gt;
    &lt;cfset foo = 1&gt;
  
    &lt;cfif foo EQ 1&gt;
      &lt;cfthrow type="customExcp" message="FAIL!"&gt;
    &lt;/cfif&gt;
  &lt;/cfif&gt;
  </code></pre>
  
  <p>The <code>try-catch</code> is in cfscript. What should go into the <code>catch()</code> statement?</p>
  
  <pre><code>try {
    myFunction();
  } catch () {
    writeOutput("Ooops");
  }
  </code></pre>