Source code for unifi_controller_api.exceptions

[docs] class UnifiControllerError(Exception): """Base exception for UnifiController errors.""" pass
[docs] class UnifiAuthenticationError(UnifiControllerError): """Raised when authentication with the UniFi Controller fails.""" pass
[docs] class UnifiAPIError(UnifiControllerError): """Raised when an API call to the UniFi Controller fails.""" pass
[docs] class UnifiDataError(UnifiControllerError): """Raised when there is an error parsing data from the UniFi Controller.""" pass
[docs] class UnifiModelError(UnifiControllerError): """Raised when there is an error loading or processing device models.""" pass