Update to use error message in get_multi_molecule_warnings