changed 'rejected' to 'error' to match pymatgen-db signals