Source code for mebo.exceptions

"""Exceptions for the mebo robot"""
[docs]class MeboError(Exception): """General Error for Mebo"""
[docs]class MeboCommandError(MeboError): """Exception raised when a command is incorrect"""
[docs]class MeboRequestError(MeboError): """Exception raised when a request is not accepted by Mebo command server"""
[docs]class MeboConnectionError(MeboError): """Exception raised when connection to mebo fails"""
[docs]class MeboConfigurationError(MeboError): """Exception raised when a Mebo misconfiguration is detected"""
[docs]class MeboDiscoveryError(MeboError): """Exception raised when unable to autodiscover mebo on the LAN"""