Changed how errors work