Exceptions

CloudBridgeBaseException

class cloudbridge.cloud.interfaces.exceptions.CloudBridgeBaseException[source]

Base class for all CloudBridge exceptions

WaitStateException

class cloudbridge.cloud.interfaces.exceptions.WaitStateException[source]

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.

InvalidConfigurationException

class cloudbridge.cloud.interfaces.exceptions.InvalidConfigurationException[source]

Marker interface for invalid launch configurations. Thrown when a combination of parameters in a LaunchConfig object results in an illegal state.

ProviderConnectionException

class cloudbridge.cloud.interfaces.exceptions.ProviderConnectionException[source]

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.

InvalidLabelException

class cloudbridge.cloud.interfaces.exceptions.InvalidLabelException(msg)[source]

Marker interface for any attempt to set an invalid label on a CloudBridge resource. An example would be setting uppercase letters, which are not allowed in a resource label. InvalidLabelExceptions inherit from, and are a special case of InvalidNameExceptions. At present, these restrictions are identical.

InvalidValueException

class cloudbridge.cloud.interfaces.exceptions.InvalidValueException(param, value)[source]

Marker interface for any attempt to set an invalid value on a CloudBridge resource.An example would be setting an unrecognised value for the direction of a firewall rule other than TrafficDirection.INBOUND or TrafficDirection.OUTBOUND.