You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Custom Exceptions present within PyWhatKit library
CountryCodeException
This exception is raised when the Phone Number passed as a string to the sendwhatmsg, sendwhatmsg_to_group etc. function does not contain the country code. The country code is something that starts with + like +91 is 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 the wait_time as 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 or the connection is very slow.
UnsupportedEmailProvider
This exception is raised when the email provider (derived from the email address, see this) is currently not supported by the library. It occurs when the provider can't be found in the hostnames dictionary declared in mail.py.