camayoc.exceptions module¶
Custom exceptions defined by Camayoc.
-
exception
camayoc.exceptions.APIResultsEmpty[source]¶ Bases:
camayoc.exceptions.DataProviderExceptionAPI request response results is empty.
This DataProvider is unable to yield any values.
-
exception
camayoc.exceptions.CalledProcessError[source]¶ Bases:
ExceptionIndicates a command process has a non-zero return code.
See
camayoc.command.CompletedProcess()for more information.
-
exception
camayoc.exceptions.ConfigFileNotFoundError[source]¶ Bases:
UserWarningWe cannot find the requested Camayoc configuration file.
See
camayoc.configfor more information on how configuration files are handled.
-
exception
camayoc.exceptions.DataProviderException[source]¶ Bases:
ExceptionGeneric problem raised by DataProvider class
-
exception
camayoc.exceptions.FailedMergeReportException[source]¶ Bases:
ExceptionA 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:
ExceptionA 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.DataProviderExceptionThere 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:
UserWarningDecorator was used incorrectly, but error is salvageable.
-
exception
camayoc.exceptions.MisconfiguredWidgetException[source]¶ Bases:
ExceptionRaised by UI Widget when expected property is not there.
-
exception
camayoc.exceptions.NoMatchingDataDefinitionException[source]¶ Bases:
camayoc.exceptions.DataProviderExceptionRequested match_criteria do not match anything in DataProvider instance configuration.
-
exception
camayoc.exceptions.PageFactoryException[source]¶ Bases:
ExceptionPage factory received invalid value and can’t instantiate new class.
-
exception
camayoc.exceptions.QPCBaseUrlNotFound[source]¶ Bases:
ExceptionWas 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:
ExceptionA 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.