Rework error handling of custom_ext_meth_add towards strong exception safety.