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

        :param LockConflictError val:
        :rtype: LockFileError
        """
    return cls('lock_conflict', val)
