Source code for yowsup_celery.exceptions

# -*- coding: utf-8 -*-
[docs]class YowsupCeleryError(Exception): pass
[docs]class UnexpectedError(YowsupCeleryError): """ Raised for unknown or unexpected errors. """ pass
[docs]class ConfigurationError(YowsupCeleryError): """ Raised when YowsupStack detects and error in configurations """ pass
[docs]class ConnectionError(YowsupCeleryError): """ Raised when CeleryLayer tries to perform an action which requires to be connected to WhatsApp """ pass
[docs]class AuthenticationError(YowsupCeleryError): """ Raised when YowsupStack cannot authenticate with the whatsapp. This means the password for number is incorrect. Check if registration was correct """ pass