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: authentication.rb
    path of file: ./repos/hrr_rb_ssh/lib/hrr_rb_ssh
    
    the code of the file until where you have to start completion: require 'hrr_rb_ssh/error/closed_authentication'
require 'hrr_rb_ssh/authentica
    
    def receive
      raise Error::ClosedAuthentication if @closed
      begin
        @transport.receive
      rescue Error::ClosedTransport
        close
        raise Error::ClosedAuthentication
      end