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: graph_exporter.rb
    path of file: ./repos/hyrax/app/services/hyrax
    
    the code of the file until where you have to start completion: # frozen_string_literal: true
module Hyrax
  ##
  # @api public
  #
  # Retri
    
    def fetch
      clean_graph_repository.find(solr_document.id).tap do |g|
        additional_resources.each { |subgraph| g << subgraph }
      end
    rescue Ldp::NotFound
      # this error is handled with a 404 page.
      raise Hyrax::ObjectNotFoundError
    end