def decodeOneOf(value, errMsg, *transformers):
    """Attempt to decode value using one of the transformers supplied. They are tried in the order provided.
    If all fail, the raise a ValueError with the error message provided."""
    for t in transformers:
        try:
            return t.decode(value)
        except Exception:
            pass
    raise ValueError(errMsg+" Value: "+str(value))