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

        :param account.SetProfilePhotoError val:
        :rtype: MembersSetProfilePhotoError
        """
    return cls('photo_error', val)
