title: Error Handling in asp.net mvc 3
body: <p>Is there a built in or a proper way to handle errors in asp.net mvc 3?</p>
  
  <p>This is what I want to do:</p>
  
  <ol>
  <li>If the application crashes, or throws an error, it goes to a specific error page.</li>
  <li>I can throw my own error from the controller action. (and it goes to an error page).</li>
  </ol>
  
  <p>I found the following ways:</p>
  
  <ol>
  <li>I see there is a long way to do it
  <a href="https://stackoverflow.com/questions/619895/how-can-i-properly-handle-404s-in-asp-net-mvc/2577095#2577095">here</a>. (for v1 and v2 but also
  applies to v3).</li>
  <li>Using errorhandle attribute <a href="http://www.dotneat.net/2011/04/12/ErrorHandlingInASPNETMVC3.aspx" rel="nofollow noreferrer">here</a>.</li>
  </ol>
  
  <p>How do I handle this the proper way? </p>
  
  <p>If the solution is similar or is like #1 in the list above, I am using ninject and I have not created a base class. How do I still do this?</p>