Source code for

Specification for exceptions raised by a provider

[docs]class CloudBridgeBaseException(Exception): """ Base class for all CloudBridge exceptions """ pass
[docs]class WaitStateException(CloudBridgeBaseException): """ Marker interface for object wait exceptions. Thrown when a timeout or errors occurs waiting for an object does not reach the expected state within a specified time limit. """ pass
[docs]class InvalidConfigurationException(CloudBridgeBaseException): """ Marker interface for invalid launch configurations. Thrown when a combination of parameters in a LaunchConfig object results in an illegal state. """ pass
class ProviderConnectionException(CloudBridgeBaseException): """ Marker interface for connection errors to a cloud provider. Thrown when cloudbridge is unable to connect with a provider, for example, when credentials are incorrect, or connection settings are invalid. """ pass