code: def open_pickle(path: str):
      
      try:
          with open(path, 'rb') as opened_pickle:
              try:
                  return pickle.load(opened_pickle)
              except Exception as pickle_error:
                  logger.error(pickle_error)
                  raise
      except FileNotFoundError as fnf_error:
          logger.error(fnf_error)
          raise
      except IOError as io_err:
          logger.error(io_err)
          raise
      except EOFError as eof_error:
          logger.error(eof_error)
          raise
      except pickle.UnpicklingError as unp_error:
          logger.error(unp_error)
          raise
docs: Open a pickle and return loaded pickle object.
      :type path: str
      :param : path: File path to pickle file to be opened.
      :rtype : object