title: Coldfusion error handling
body: <p>I am trying to create some custom error pages that email our developers that there has been an 404 or 500 error in coldfusion. Also it would be helpful if within the email it gives the error variables.</p>
  
  <p>I have set up a error page in coldfusion and have pointed IIS(7) at it.</p>
  
  <p>Also in my application.cfm file I am declaring the following:</p>
  
  <pre><code>&lt;cferror type="exception" template="#name#"&gt;
  &lt;cferror type="request" template="#name#"&gt; 
  &lt;cferror type="validation" template="#name#"&gt; 
  &lt;cferror type="monitor" template="#name#"&gt; 
  </code></pre>
  
  <p>My problem is that within the error file I cannot include any CF calls, CF appears to stripe them out.</p>
  
  <p>Am I doing something wrong?</p>
  
  <p>Thanks in advance!</p>