Module sharklocal.exceptions

Custom exceptions for the sharklocal library.

Classes

class ActionNotSupportedError (*args, **kwargs)
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

class CommandError (*args, **kwargs)
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

class ConnectError (*args, **kwargs)
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

class DecoderError (*args, **kwargs)
Expand source code
class DecoderError(SharklocalError):
    """Raised when a response payload cannot be decoded."""

Raised when a response payload cannot be decoded.

Ancestors

class MappingNotFoundError (*args, **kwargs)
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

class SharklocalError (*args, **kwargs)
Expand source code
class SharklocalError(Exception):
    """Base exception for all sharklocal errors."""

Base exception for all sharklocal errors.

Ancestors

  • builtins.Exception
  • builtins.BaseException

Subclasses