def format_error_string(error: str, affected_object: str) ->str:
    """
    Joins and formats two given strings,
    returns a single string
    """
    return '<br>'.join(['ERROR: ', error, 'AFFECTED OBJECT:',
        affected_object,
        '================================================================', '']
        )
