code: def get_yml_content(file_path):
      '''Load yaml file content'''
      try:
          with open(file_path, 'r') as file:
              return yaml.load(file, Loader=yaml.Loader)
      except yaml.scanner.ScannerError as err:
          print_error('yaml file format error!')
          exit(1)
      except Exception as exception:
          print_error(exception)
          exit(1f get_yml_content(file_path):
      '''Load yaml file content'''
      try:
          with open(file_path, 'r') as file:
              return yaml.load(file, Loader=yaml.Loader)
      except yaml.scanner.ScannerError as err:
          print_error('yaml file format error!')
          exit(1)
      except Exception as exception:
          print_error(exception)
          exit(1)
docs: Load yaml file content