Make error more generic.