Skip to content

Commit

Permalink
breaking: fix N818 Exception name QTKException should be named with…
Browse files Browse the repository at this point in the history
… an Error suffix
  • Loading branch information
janosh committed Jul 31, 2024
1 parent fc98180 commit af82c8b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/qtoolkit/core/exceptions.py
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
class QTKException(Exception):
class QTKError(Exception):
"""Base class for all the exceptions generated by qtoolkit."""


class CommandFailedError(QTKException):
class CommandFailedError(QTKError):
"""
Exception raised when the execution of a command has failed,
typically by a non-zero return code.
"""


class OutputParsingError(QTKException):
class OutputParsingError(QTKError):
"""
Exception raised when errors are recognized during the parsing
of the outputs of command.
"""


class UnsupportedResourcesError(QTKException):
class UnsupportedResourcesError(QTKError):
"""
Exception raised when the resources requested are not supported
in qtoolkit for the chosen scheduler.
Expand Down

0 comments on commit af82c8b

Please sign in to comment.