Exceptions

exception libpermian.exceptions.LibraryNotFound(repoURL, attempted_branches)

Raised when pipeline couldn’t obtain library.

exception libpermian.exceptions.LocalLogExistsError(crcid, name, old_path, new_path)

Raised when trying to change path to log which already exists and has different path.

exception libpermian.exceptions.NotReady

Signal that some action happened out of expected order.

exception libpermian.exceptions.ReadOnlyChangeError

Raised when some read-only object is attempted to be updated/changed.

exception libpermian.exceptions.RemoteLogError(crcid, name, log_path)

Raised when trying to access remote log in incompatible way.

exception libpermian.exceptions.ResourceNotAvailable(msg)

Raised when desired resource is not available. The purpose is to signal that some resource should be available (according to the settings), but it’s not available.

exception libpermian.exceptions.StateChangeError

Raised in cases of invalid state changes.

exception libpermian.exceptions.StructureConversionError(from_structure, to_structure, reason)

Raised when confersion of event structure fails

exception libpermian.exceptions.UnexpectedState

Signal that the code reached point which shouldn’t have been reached.

exception libpermian.exceptions.UnknownCommandError

Raised when the pipeline is called with unknown command.

exception libpermian.exceptions.UnknownStructure(name)

Raised when unknown structure is encountered

exception libpermian.exceptions.UnknownTestConfigurationMergeMethod(method)

Raised when merge method used durring merge of test configurations in testplan and testcase doesn’t exist

exception libpermian.exceptions.UnsupportedConfiguration(configuration, value)

Raised for test configuration value not supported by workflow.