Add http status to errors