File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -833,6 +833,11 @@ class QgsProcessingFeatureBasedAlgorithm : QgsProcessingAlgorithm
833
833
The provided ``feedback`` object can be used to push messages to the log and for giving feedback
834
834
to users. Note that handling of progress reports and algorithm cancelation is handled by
835
835
the base class and subclasses do not need to reimplement this logic.
836
+
837
+ Algorithms can throw a QgsProcessingException if a fatal error occurred which should
838
+ prevent the algorithm execution from continuing. This can be annoying for users though as it
839
+ can break valid model execution - so use with extreme caution, and consider using
840
+ ``feedback`` to instead report non-fatal processing failures for features instead.
836
841
:rtype: bool
837
842
%End
838
843
Original file line number Diff line number Diff line change @@ -804,6 +804,11 @@ class CORE_EXPORT QgsProcessingFeatureBasedAlgorithm : public QgsProcessingAlgor
804
804
* The provided \a feedback object can be used to push messages to the log and for giving feedback
805
805
* to users. Note that handling of progress reports and algorithm cancelation is handled by
806
806
* the base class and subclasses do not need to reimplement this logic.
807
+ *
808
+ * Algorithms can throw a QgsProcessingException if a fatal error occurred which should
809
+ * prevent the algorithm execution from continuing. This can be annoying for users though as it
810
+ * can break valid model execution - so use with extreme caution, and consider using
811
+ * \a feedback to instead report non-fatal processing failures for features instead.
807
812
*/
808
813
virtual bool processFeature ( QgsFeature &feature, QgsProcessingFeedback *feedback ) = 0 ;
809
814
You can’t perform that action at this time.
0 commit comments