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