Source code for pypuppetdb.errors

[docs]class APIError(Exception): """Our base exception the other errors inherit from.""" pass
[docs]class ImproperlyConfiguredError(APIError): """This exception is thrown when the API is initialised and it detects incompatbile configuration such as SSL turned on but no certificates provided.""" pass
[docs]class EmptyResponseError(APIError): """Will be thrown when we did recieve a response but the response is empty.""" pass
[docs]class UnsupportedVersionError(APIError): """Triggers when using the :func:`connect` function and providing it with an unknown API version.""" pass
[docs]class DoesNotComputeError(APIError): """This error will be thrown when a function is called with an incompatible set of optional parameters. This is the 'you are being a naughty developer, go read the docs' error. """ pass

Project Versions

This Page