Module sharklocal.exceptions
Custom exceptions for the sharklocal library.
Classes
-
Expand source code
class ActionNotSupportedError(SharklocalError): """Raised when an action is not defined in the configured transport mapping."""Raised when an action is not defined in the configured transport mapping.
Ancestors
- SharklocalError
- builtins.Exception
- builtins.BaseException
-
Expand source code
class CommandError(SharklocalError): """Raised when a command fails to execute or receives an error response."""Raised when a command fails to execute or receives an error response.
Ancestors
- SharklocalError
- builtins.Exception
- builtins.BaseException
-
Expand source code
class ConnectError(SharklocalError): """Raised when a connection to the vacuum cannot be established."""Raised when a connection to the vacuum cannot be established.
Ancestors
- SharklocalError
- builtins.Exception
- builtins.BaseException
-
Expand source code
class DecoderError(SharklocalError): """Raised when a response payload cannot be decoded."""Raised when a response payload cannot be decoded.
Ancestors
- SharklocalError
- builtins.Exception
- builtins.BaseException
-
Expand source code
class MappingNotFoundError(SharklocalError): """Raised when a named mapping file cannot be located."""Raised when a named mapping file cannot be located.
Ancestors
- SharklocalError
- builtins.Exception
- builtins.BaseException
-
Expand source code
class SharklocalError(Exception): """Base exception for all sharklocal errors."""Base exception for all sharklocal errors.
Ancestors
- builtins.Exception
- builtins.BaseException
Subclasses