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: doc_auth_router.rb
    path of file: ./repos/identity-idp/app/services
    
    the code of the file until where you have to start completion: # Helps route between various doc auth backends
module DocAuthRouter
  ERROR_TRANSLATIONS = {
    # i18n-t
    
    def translate_form_response!(response)
      return response unless response.is_a?(DocAuth::Response)

      translate_doc_auth_errors!(response)
      translate_generic_errors!(response)

      response
    end