1
0
Fork 0
mirror of https://github.com/sinatra/sinatra synced 2023-03-27 23:18:01 -04:00
sinatra/lib
Ryan Tomayko 3105f21132 make raise_errors option more reliable
The raise_errors option was implemented as part of
the default error handler making it worthless in development
mode or with a custom error handler. This moves the
implementation to the core dispatch method.

While here, clean up the Error class a bit, making it
use the options provided and pass the correct HTTP status
code.
2008-09-07 04:16:25 -07:00
..
sinatra merge bmizerany/next at 52bb38 2008-09-01 13:42:59 -07:00
sinatra.rb make raise_errors option more reliable 2008-09-07 04:16:25 -07:00