def METHOD_NAME(self, color: bool, width: int, with_prefix: bool) -> list[str]:
    """Output exit message to the console.
    :param color: Whether to color the message
    :param width: Constrain message to width
    :param with_prefix: Whether to prefix the message
    :returns: The exit message as a string
    """
    prefix_length = ExitPrefix.longest_formatted()
    indent = " " * prefix_length
    message = textwrap.fill(
        self.message,
        width=width,
        break_on_hyphens=False,
        initial_indent=str(self.prefix) if with_prefix else indent,
        subsequent_indent=indent,
    )
    lines = message.splitlines()
    start_color = self.color if color else ""
    end_color = Color.END if color else ""
    printable = [f"{start_color}{line}{end_color}" for line in lines]
    return printable