diff --git a/gillespy2/solvers/cpp/c_solver.py b/gillespy2/solvers/cpp/c_solver.py index cb4595c83..0a403de27 100644 --- a/gillespy2/solvers/cpp/c_solver.py +++ b/gillespy2/solvers/cpp/c_solver.py @@ -372,7 +372,9 @@ def _validate_sbml_features(self, unsupported_features: "dict[str, str]"): detected.append(feature_name) if len(detected): - raise gillespyError.ModelError(f"Could not run Model. SBML Feature: {detected} not supported by SSACSolver.") + raise gillespyError.ModelError(f"Could not run Model, " + f"SBML Features not supported by {self.name}: " + + ", ".join(detected)) def _validate_seed(self, seed: int): if seed is None: