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
Read the Docs v: v0.1.0
Versions
latest
v0.1.0
v0.0.4
Downloads
On Read the Docs
Project Home
Builds

Free document hosting provided by Read the Docs.