You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: callbacks.rb
    path of file: ./repos/rodauth-rails/lib/rodauth/rails/feature
    
    the code of the file until where you have to start completion: module Rodauth
  module Rails
    mo
    
        def rails_controller_rescue
          yield
        rescue Exception => exception
          rails_controller_instance.rescue_with_handler(exception) || raise

          unless rails_controller_instance.performed?
            raise Rodauth::Rails::Error, "rescue_from handler didn't write any response"
          end