def METHOD_NAME(properties):
    try:
        return OrderedDict(properties)
    except TypeError as e:
        raise ValueError(
            "properties must be dict-like, e.g. a list "
            "containing tuples.  For example, "
            "[('property1', IntegerProperty())]",
        ) from e