title: How to handle ordering of flask error handlers
body: <p>How does one ensure that the flask error handlers get the most specific exception?</p>
  
  <p>From some simple tests and looking at the source code, it looks like the flask error handling code just takes the first register error handler for a given exception type instead of the most specific type possible.</p>
  
  <p>I guess the answer is to put the error handler for <code>Exception</code> at the very end?</p>