SimonSapin/Frozen-Flask — pull request #17 by singingwolfboy (2012-05-20 13:18:44+00:00)
Title: Add `Freezer.error_handler_spec` for saving errors

I needed to be able to generate a 404 page when freezing my Flask application, so I figured I'd add a generic way to make Frozen-Flask freeze any HTTP error page. The code works, and the unit test suite has been updated as well, but there is currently not documentation. I decided to mirror `Flask.error_handler_spec` as closely as possible, but I'm not certain that was the right decision, since it means that we have to use a nested dictionary due to blueprints providing their own exception handlers. I'm open to suggestions for other ways to implement this that make sense.