Skip to content
Permalink
Browse files

Use correct spelling for qgsProcessingException class

Fix typo
  • Loading branch information
DelazJ committed Mar 16, 2021
1 parent e11b7f0 commit 6e20ee86ae903782cd10a630385ea5d2b550bc06
@@ -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 6e20ee8

Please sign in to comment.