Module pipelines.utils.whatsapp_bot.exceptions
Exceptions when sending messages through a Whatsapp Bot. This module assumes that the bot inherits from the template bot at https://github.com/prefeitura-rio/whatsapp-bot
Classes
class WhatsAppBotNotFoundError (*args, **kwargs)
-
Exception raised when a Whatsapp Bot is not found.
Expand source code
class WhatsAppBotNotFoundError(Exception): """ Exception raised when a Whatsapp Bot is not found. """
Ancestors
- builtins.Exception
- builtins.BaseException
class WhatsAppSendMessageError (*args, **kwargs)
-
Exception raised when sending a message through a Whatsapp Bot fails.
Expand source code
class WhatsAppSendMessageError(Exception): """ Exception raised when sending a message through a Whatsapp Bot fails. """
Ancestors
- builtins.Exception
- builtins.BaseException