buildtest.exceptions
Module Contents
- exception buildtest.exceptions.BuildTestError(msg, *args)[source]
Bases:
Exception
Class responsible for error handling in buildtest. This is a sub-class of Exception class.
This class is used for printing error message when exception is raised.
- Parameters:
- exception buildtest.exceptions.BuildspecError(msg, buildspec=None)[source]
Bases:
Exception
Exception if there is an issue with parsing a Buildspec or building test
Initialize self. See help(type(self)) for accurate signature.
- exception buildtest.exceptions.InvalidBuildspec(msg, buildspec=None)[source]
Bases:
BuildspecError
This class raises exception for InvalidBuildspec
Initialize self. See help(type(self)) for accurate signature.
- exception buildtest.exceptions.InvalidBuildspecSchemaType(msg, buildspec=None)[source]
Bases:
BuildspecError
This exception is raised when buildspec contains invalid schema ‘type’
Initialize self. See help(type(self)) for accurate signature.
- exception buildtest.exceptions.InvalidBuildspecExecutor(msg, buildspec=None)[source]
Bases:
BuildspecError
This exception is raised when there is invalid ‘executor’ in buildspec
Initialize self. See help(type(self)) for accurate signature.
- exception buildtest.exceptions.ExecutorError[source]
Bases:
Exception
This class raises an error with Executor class and its operation
Initialize self. See help(type(self)) for accurate signature.
- exception buildtest.exceptions.RuntimeFailure[source]
Bases:
Exception
The RuntimeFailure exception is raised when their is an error running test
Initialize self. See help(type(self)) for accurate signature.