-
Notifications
You must be signed in to change notification settings - Fork 337
Exception
Custom Exceptions present within PyWhatKit library
-
CountryCodeException
This exception is raised when the Phone Number passed as a string to thesendwhatmsgandsendwhatmsg_to_groupfunction does not contain the country code. The country code is something that starts with + like+91is for India and so on. For Example, the Correct form to pass an Indian Phone Number is+912345678900. -
CallTimeException
This exception is raised when the time left to send the message is less than thewait_timeas WhatsApp Web takes some time to open and load to the chat. -
InternetException
This exception is raised when the the host machine is not connected to the Internet. -
InvalidBrowserName
This exception is raised when thebrowserparameter of thesendwhatmsg()function does not receive a valid browser name. Valid names are chrome, firefox, brave, opera.
PyWhatKit Version 5.2