validations_libs.exceptions module¶
This module contains Validation Framework specific exceptions, to be raised by Validation Framework runtime.
The exceptions are meant to cover the most common of the possible fail states the framework can encounter, with the rest evoking one of the built in exceptions, such as ‘RuntimeError’. Use of these exceptions should be limited to cases when cause is known and within the context of the framework itself.
- exception validations_libs.exceptions.ValidationRunException[source]¶
Bases:
Exception
ValidationRunException is to be raised when actions initiated by the CLI ‘run’ subcommand or run_validations method of the ValidationsActions class, cause unacceptable behavior from which it is impossible to recover.
- exception validations_libs.exceptions.ValidationShowException[source]¶
Bases:
Exception
ValidationShowException is to be raised when actions initiated by the CLI ‘show’ subcommands or show_history, show_validations or show_validations_parameters methods of the ValidationsActions class, cause unacceptable behavior from which it is impossible to recover.