mirror of
https://github.com/sinatra/sinatra
synced 2023-03-27 23:18:01 -04:00
![]() 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. |
||
---|---|---|
.. | ||
public | ||
views | ||
app_test.rb | ||
application_test.rb | ||
builder_test.rb | ||
custom_error_test.rb | ||
diddy_test.rb | ||
erb_test.rb | ||
event_context_test.rb | ||
events_test.rb | ||
haml_test.rb | ||
helper.rb | ||
mapped_error_test.rb | ||
pipeline_test.rb | ||
rest_test.rb | ||
sass_test.rb | ||
sessions_test.rb | ||
streaming_test.rb | ||
sym_params_test.rb | ||
template_test.rb | ||
use_in_file_templates_test.rb |