@classmethod
def invalid_argument(cls, val):
    """
        Create an instance of this class set to the ``invalid_argument`` tag
        with value ``val``.

        :param str val:
        :rtype: SearchError
        """
    return cls('invalid_argument', val)
