camayoc.exceptions module¶
Custom exceptions defined by Camayoc.
-
exception
camayoc.exceptions.
APIResultsEmpty
[source]¶ Bases:
camayoc.exceptions.DataProviderException
API request response results is empty.
This DataProvider is unable to yield any values.
-
exception
camayoc.exceptions.
CalledProcessError
[source]¶ Bases:
Exception
Indicates a command process has a non-zero return code.
See
camayoc.command.CompletedProcess()
for more information.
-
exception
camayoc.exceptions.
ConfigFileNotFoundError
[source]¶ Bases:
UserWarning
We cannot find the requested Camayoc configuration file.
See
camayoc.config
for more information on how configuration files are handled.
-
exception
camayoc.exceptions.
DataProviderException
[source]¶ Bases:
Exception
Generic problem raised by DataProvider class
-
exception
camayoc.exceptions.
FailedMergeReportException
[source]¶ Bases:
Exception
A test has raised this exception because a merge report job failed.
While waiting for the scan to acheive some other state, the merge report job failed. The test expected the merge report job to succeed, so this exception has been raised.
-
exception
camayoc.exceptions.
FailedScanException
[source]¶ Bases:
Exception
A test has raised this exception because a scan failed.
While waiting for the scan to acheive some other state, the scan failed. The test expected the scan to succeed, so this exception has been raised.
-
exception
camayoc.exceptions.
FilteredAPIResultsEmpty
[source]¶ Bases:
camayoc.exceptions.DataProviderException
There are no objects in API request response results matching provided criteria.
This configuration of DataProvider is unable to yield any values.
-
exception
camayoc.exceptions.
IncorrectDecoratorUsageWarning
[source]¶ Bases:
UserWarning
Decorator was used incorrectly, but error is salvageable.
-
exception
camayoc.exceptions.
MisconfiguredWidgetException
[source]¶ Bases:
Exception
Raised by UI Widget when expected property is not there.
-
exception
camayoc.exceptions.
NoMatchingDataDefinitionException
[source]¶ Bases:
camayoc.exceptions.DataProviderException
Requested match_criteria do not match anything in DataProvider instance configuration.
-
exception
camayoc.exceptions.
PageFactoryException
[source]¶ Bases:
Exception
Page factory received invalid value and can’t instantiate new class.
-
exception
camayoc.exceptions.
QPCBaseUrlNotFound
[source]¶ Bases:
Exception
Was not able to build a base URL with the config file information.
Check the expected configuration file format on the API Client documentation.
-
exception
camayoc.exceptions.
StoppedScanException
[source]¶ Bases:
Exception
A test has raised this exception because a scan unexpectly stopped.
While waiting for the scan to achieve some other state, the scan reached a terminal state from which it could not progress, so this exception has been raised instead of continuing to wait.