Added errorThrown to error feedback