module Roda::RodaPlugins::ErrorHandler::InstanceMethods

def call

the error handler.
If an error occurs, set the response status to 500 and call
def call
  super
rescue *opts[:error_handler_classes] => e
  res = @_response = self.class::RodaResponse.new
  res.status = 500
  super{handle_error(e)}
end

def handle_error(e)

behavior.
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