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

        :param LockingErrorTag val:
        :rtype: RenameErrorTagUnion
        """
    return cls('locking_error', val)
