pcvs.helpers.exceptions module
- class pcvs.helpers.exceptions.BankException[source]
Bases:
CommonExceptionBank-specific exceptions.
- exception ProjectNameError(err_msg='Unkown error', help_msg='Please check pcvs --help for more information.', dbg_info={})[source]
Bases:
GenericErrorname is not a valid project under the given bank.
- class pcvs.helpers.exceptions.CommonException[source]
Bases:
objectGathers exceptions commonly encountered by more specific namespaces.
- exception AlreadyExistError(msg='Invalid format', **kwargs)[source]
Bases:
GenericErrorThe content already exist as it should.
- exception BadTokenError(err_msg='Unkown error', help_msg='Please check pcvs --help for more information.', dbg_info={})[source]
Bases:
GenericErrorBadly formatted string, unable to parse.
- exception IOError(err_msg='Unkown error', help_msg='Please check pcvs --help for more information.', dbg_info={})[source]
Bases:
GenericErrorCommunication error (FS, process) while processing data.
- exception NotFoundError(err_msg='Unkown error', help_msg='Please check pcvs --help for more information.', dbg_info={})[source]
Bases:
GenericErrorContent haven’t been found based on specifications.
- exception NotImplementedError(err_msg='Unkown error', help_msg='Please check pcvs --help for more information.', dbg_info={})[source]
Bases:
GenericErrorMissing implementation for this particular feature.
- exception TimeoutError(err_msg='Unkown error', help_msg='Please check pcvs --help for more information.', dbg_info={})[source]
Bases:
GenericErrorThe parent class timeout error.
- exception UnclassifiableError(err_msg='Unkown error', help_msg='Please check pcvs --help for more information.', dbg_info={})[source]
Bases:
GenericErrorUnable to classify this common error.
- exception WIPError(err_msg='Unkown error', help_msg='Please check pcvs --help for more information.', dbg_info={})[source]
Bases:
GenericErrorWork in Progress, not a real error.
- class pcvs.helpers.exceptions.ConfigException[source]
Bases:
CommonExceptionConfig-specific exceptions.
- exception pcvs.helpers.exceptions.GenericError(err_msg='Unkown error', help_msg='Please check pcvs --help for more information.', dbg_info={})[source]
Bases:
ExceptionGeneric error (custom errors will inherit of this).
- property dbg
returns the extra infos of the exceptions (if any).
- Returns
only the debug infos.
- Return type
- property dbg_str
Stringify the debug infos. These infos are stored as a dict initially.
- return
a itemized string.
- rtype
str
- class pcvs.helpers.exceptions.GitException[source]
Bases:
CommonException
- class pcvs.helpers.exceptions.LockException[source]
Bases:
CommonExceptionLock-specific exceptions.
- exception BadOwnerError(err_msg='Unkown error', help_msg='Please check pcvs --help for more information.', dbg_info={})[source]
Bases:
GenericErrorAttempt to manipulate the lock while the current process is not the owner.
- exception TimeoutError(err_msg='Unkown error', help_msg='Please check pcvs --help for more information.', dbg_info={})[source]
Bases:
GenericErrorTimeout reached before lock.
- class pcvs.helpers.exceptions.OrchestratorException[source]
Bases:
CommonExceptionExecution-specific errors.
- exception CircularDependencyError(err_msg='Unkown error', help_msg='Please check pcvs --help for more information.', dbg_info={})[source]
Bases:
GenericErrorCircular dep detected while processing job dep tree.
- exception UndefDependencyError(err_msg='Unkown error', help_msg='Please check pcvs --help for more information.', dbg_info={})[source]
Bases:
GenericErrorDeclared job dep cannot be fully qualified, not defined.
- class pcvs.helpers.exceptions.PluginException[source]
Bases:
CommonExceptionPlugin-related exceptions.
- exception BadStepError(err_msg='Unkown error', help_msg='Please check pcvs --help for more information.', dbg_info={})[source]
Bases:
GenericErrortargeted pass does not exist.
- exception LoadError(err_msg='Unkown error', help_msg='Please check pcvs --help for more information.', dbg_info={})[source]
Bases:
GenericErrorUnable to load plugin directory.
- class pcvs.helpers.exceptions.ProfileException[source]
Bases:
CommonExceptionProfile-specific exceptions.
- exception IncompleteError(err_msg='Unkown error', help_msg='Please check pcvs --help for more information.', dbg_info={})[source]
Bases:
GenericErrorA configuration block is missing to build the profile.
- class pcvs.helpers.exceptions.RunException[source]
Bases:
CommonExceptionRun-specific exceptions.
- exception InProgressError(msg='Execution in progress in this build directory', **kwargs)[source]
Bases:
GenericErrorA run is currently occuring in the given dir.
- exception ProgramError(msg='Program cannot be found', **kwargs)[source]
Bases:
GenericErrorThe given program cannot be found.
- exception TestUnfoldError(msg='Issue(s) while parsing test input', **kwargs)[source]
Bases:
GenericErrorIssue raised during processing test files.
- class pcvs.helpers.exceptions.SpackException[source]
Bases:
CommonException
- class pcvs.helpers.exceptions.TestException[source]
Bases:
CommonExceptionTest-specific exceptions.
- exception DynamicProcessError(err_msg='Unkown error', help_msg='Please check pcvs --help for more information.', dbg_info={})[source]
Bases:
GenericErrorTest File is not properly formatted.
- exception TDFormatError(err_msg='Unkown error', help_msg='Please check pcvs --help for more information.', dbg_info={})[source]
Bases:
GenericErrorTest description is wrongly formatted.
- class pcvs.helpers.exceptions.ValidationException[source]
Bases:
CommonExceptionValidation-specific exceptions.
- exception FormatError(msg='Invalid format', **kwargs)[source]
Bases:
GenericErrorThe content does not comply the required format (schemes).
- exception SchemeError(msg='Invalid Scheme provided', **kwargs)[source]
Bases:
GenericErrorThe content is not a valid format (scheme).