code: def _verified_version_from_id(version_id):
      # type: (int) -> SerializationVersion
      
      try:
          return SerializationVersion(version_id)
      except ValueError as error:
          raise NotSupportedError("Unsupported version {}".format(version_id), error)
docs: Load a message :class:`SerializationVersion` for the specified version ID.
  
      :param int version_id: Message format version ID
      :return: Message format version
      :rtype: SerializationVersion
      :raises NotSupportedError: if unsupported version ID is received