module Roda::RodaPlugins::ErrorHandler::InstanceMethods
def _route
If an error occurs, set the response status to 500 and call
def _route super rescue => e @_response.status = 500 super{handle_error(e)} end
def handle_error(e)
the plugin without installing an error handler doesn't change
By default, have the error handler reraise the error, so using
def handle_error(e) raise e end