aiovantage.errors
¶
Client exceptions.
Classes:
-
ClientError–Base exception for clients.
-
ClientConnectionError–Exception for client connection errors.
-
ClientTimeoutError–Exception for client connection errors caused by timeouts.
-
ClientResponseError–Exception for client response errors.
-
CommandError–Base exception for errors caused by sending commands or requests.
-
InvalidParameterError–An invalid parameter was provided.
-
WrongNumberOfParametersError–The wrong number of parameters was provided.
-
SyntaxError–The command syntax is invalid.
-
InvalidObjectError–The requested object ID is invalid.
-
NotImplementedError–The requested command is not implemented.
-
FailedError–The requested command failed.
-
NotConfiguredError–The requested object is not configured.
-
NotInitializedError–The requested object is not initialized.
-
NotSupportedError–The requested command is not supported.
-
ObjectOfflineError–The requested object is offline.
-
LoginRequiredError–Login is required to perform this command.
-
LoginFailedError–Login failed.
-
ConversionError–Error during data serialization/deserialization.
Functions:
-
raise_command_error–Raise a command error based on the error code.
ClientConnectionError
¶
Bases: ClientError
Exception for client connection errors.
ClientTimeoutError
¶
Bases: TimeoutError, ClientConnectionError
Exception for client connection errors caused by timeouts.
ClientResponseError
¶
Bases: ClientError
Exception for client response errors.
CommandError
¶
Bases: ClientError
Base exception for errors caused by sending commands or requests.
InvalidParameterError
¶
Bases: CommandError
An invalid parameter was provided.
WrongNumberOfParametersError
¶
Bases: CommandError
The wrong number of parameters was provided.
SyntaxError
¶
Bases: CommandError
The command syntax is invalid.
InvalidObjectError
¶
Bases: CommandError
The requested object ID is invalid.
NotImplementedError
¶
Bases: CommandError
The requested command is not implemented.
FailedError
¶
Bases: CommandError
The requested command failed.
NotConfiguredError
¶
Bases: CommandError
The requested object is not configured.
NotInitializedError
¶
Bases: CommandError
The requested object is not initialized.
NotSupportedError
¶
Bases: CommandError
The requested command is not supported.
ObjectOfflineError
¶
Bases: CommandError
The requested object is offline.
LoginRequiredError
¶
Bases: CommandError
Login is required to perform this command.
LoginFailedError
¶
Bases: CommandError
Login failed.