Exceptions¶
InvalidLabelException¶
-
class
cloudbridge.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.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.