Added a clause to edts_eunit:format_error/1 to handle throw and exit conditions