| 1234567891011121314151617181920212223242526272829303132333435363738 |
- """
- Specification for exceptions raised by a provider
- """
- class CloudBridgeBaseException(Exception):
- """
- Base class for all CloudBridge exceptions
- """
- pass
- 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
- 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
|