[runtime] Use new mono_error_set_for_class_failure where applicable.