def format_alert_message(raised_error, message):
    """
    Formats error in the desired format

    :param raised_error: Error that was raised
    :param message: Message accompanying the error
    :return: Formatted f-string
    """
    return f"{raised_error}: {message}"