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
  • msg (str) – message to print

  • *args (list) – extra arguments to class for printing message

__str__(self)[source]

Return str(self).

exception buildtest.exceptions.BuildspecError(buildspec, msg)[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.

__str__(self)[source]

Return str(self).

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.

exception buildtest.exceptions.ConfigurationError(config, settings_file, msg)[source]

Bases: Exception

ConfigurationError is raised when their is an issue with buildtest configuration file

Initialize self. See help(type(self)) for accurate signature.

__str__(self)[source]

Return str(self).