pyjen.exceptions module¶
All PyJen specific exception declarations
- exception pyjen.exceptions.InvalidJenkinsURLError(msg, url)[source]¶
Bases: pyjen.exceptions.PyJenError
Exception raised when attempting to connect to a URL that doesn’t point to a valid Jenkins REST API
constructor
Parameters:
- exception pyjen.exceptions.InvalidParameterError(msg)[source]¶
Bases: pyjen.exceptions.PyJenError
Exception raised when the caller provides an invalid value as an input parameter to a PyJen method call
Constructor
Parameters: msg (str) – Descriptive message associated with this exception
- exception pyjen.exceptions.InvalidUserParamsError(msg)[source]¶
Bases: pyjen.exceptions.PyJenError
Exception caused by invalid parameters in the user configuration file
constructor
Parameters: msg (str) – Descriptive message associated with this exception
- exception pyjen.exceptions.JenkinsFlushFailure(failed_items)[source]¶
Bases: pyjen.exceptions.PyJenError
Exception raised when flushing cached Jenkins data to the remote server fails
- exception pyjen.exceptions.NestedViewCreationError(msg)[source]¶
Bases: pyjen.exceptions.PyJenError
Error when creating a sub-view in the nested-view plugin
Constructor
Parameters: msg (str) – Descriptive message associated with this exception
- exception pyjen.exceptions.NotYetImplementedError[source]¶
Bases: pyjen.exceptions.PyJenError
Exception thrown from methods that are not yet implemented
constructor
- exception pyjen.exceptions.PluginNotSupportedError(message, plugin_name)[source]¶
Bases: exceptions.NotImplementedError
Basic extension to the NotImplementedError with details about which plugin was not found
Constructor
Parameters:
- exception pyjen.exceptions.PyJenError[source]¶
Bases: exceptions.Exception
Base class for all PyJen related exceptions