Skip to content
Permalink
Browse files

Merge pull request #42267 from DelazJ/no_qgsProcessingExceptions

Use correct spelling for QgsProcessingException class
  • Loading branch information
m-kuhn committed Mar 16, 2021
2 parents e11b7f0 + 6e20ee8 commit 823c95779f7a0e621ae674989e8df37dc519edc9
@@ -350,7 +350,7 @@ Algorithm progress should be reported using the supplied ``feedback`` object.

If specified, ``ok`` will be set to ``True`` if algorithm was successfully run.

If ``catchExceptions`` is set to ``False``, then :py:class:`QgsProcessingExceptions` raised during
If ``catchExceptions`` is set to ``False``, then :py:class:`QgsProcessingException` raised during
the algorithm run will not be automatically caught and will be raised instead.

:return: A map of algorithm outputs. These may be output layer references, or calculated
@@ -82,7 +82,7 @@ def testCommandNameInTags(self):
self.assertTrue(a.commandName() in a.tags(), 'Algorithm {} commandName not found in tags!'.format(a.id()))

def testNoParameters(self):
# Test that algorithms throw QgsProcessingExceptions and not base Python
# Test that algorithms throw QgsProcessingException and not base Python
# exceptions when no parameters specified
p = QgsApplication.processingRegistry().providerById('gdal')
context = QgsProcessingContext()
@@ -378,7 +378,7 @@ class CORE_EXPORT QgsProcessingAlgorithm
*
* If specified, \a ok will be set to TRUE if algorithm was successfully run.
*
* If \a catchExceptions is set to FALSE, then QgsProcessingExceptions raised during
* If \a catchExceptions is set to FALSE, then QgsProcessingException raised during
* the algorithm run will not be automatically caught and will be raised instead.
*
* \returns A map of algorithm outputs. These may be output layer references, or calculated

0 comments on commit 823c957

Please sign in to comment.