Aborts if there are any errors