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

        :param WriteError val:
        :rtype: RelocationError
        """
    return cls('from_write', val)
