Skip to content

Commit

Permalink
Use correct spelling for qgsProcessingException class
Browse files Browse the repository at this point in the history
Fix typo
  • Loading branch information
DelazJ committed Mar 16, 2021
1 parent e11b7f0 commit 6e20ee8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Expand Up @@ -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
Expand Down
Expand Up @@ -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()
Expand Down
2 changes: 1 addition & 1 deletion src/core/processing/qgsprocessingalgorithm.h
Expand Up @@ -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
Expand Down

0 comments on commit 6e20ee8

Please sign in to comment.