Exceptions
This script defines the exceptions used in the ankaios_sdk module.
All the exceptions are derived from the AnkaiosException class.
Exceptions
AnkaiosException:Base exception.
WorkloadFieldException:Raised when the workload field is invalid.
WorkloadBuilderException:Raised when the workload builder is invalid.
InvalidManifestException:Raised when the manifest file is invalid.
ConnectionClosedException:Raised when the connection is closed.
ResponseException:Raised when the response is invalid.
ControlInterfaceException:Raised when an operation fails.
AnkaiosProtocolException:Raised when something unexpected is received.
AnkaiosResponseError:Raised when the response from Ankaios is an error.
- exception ankaios_sdk.exceptions.AnkaiosException[source]
Bases:
ExceptionBase class for exceptions in this module.
- exception ankaios_sdk.exceptions.WorkloadFieldException(field, value, accepted_values)[source]
Bases:
AnkaiosExceptionRaised when the workload field is invalid
- exception ankaios_sdk.exceptions.WorkloadBuilderException[source]
Bases:
AnkaiosExceptionRaised when the workload builder is invalid.
- exception ankaios_sdk.exceptions.InvalidManifestException[source]
Bases:
AnkaiosExceptionRaised when the manifest file is invalid.
- exception ankaios_sdk.exceptions.ConnectionClosedException[source]
Bases:
AnkaiosExceptionRaised when the connection is closed.
- exception ankaios_sdk.exceptions.ResponseException[source]
Bases:
AnkaiosExceptionRaised when the response is invalid.
- exception ankaios_sdk.exceptions.ControlInterfaceException[source]
Bases:
AnkaiosExceptionRaised when an operation on the Control Interface fails
- exception ankaios_sdk.exceptions.AnkaiosProtocolException(message)[source]
Bases:
AnkaiosExceptionRaised when something unexpected is received
- exception ankaios_sdk.exceptions.AnkaiosResponseError[source]
Bases:
AnkaiosExceptionRaised when the response from Ankaios is an error