Exception: Whatsapp::NotConnected
- Defined in:
- lib/whatsapp/errors.rb
Overview
Raised when the WhatsApp account is not connected (QR code not scanned).
Instance Method Summary collapse
-
#initialize(msg = "WhatsApp is not connected. Call connect first.") ⇒ NotConnected
constructor
A new instance of NotConnected.
Constructor Details
#initialize(msg = "WhatsApp is not connected. Call connect first.") ⇒ NotConnected
Returns a new instance of NotConnected.
42 43 44 |
# File 'lib/whatsapp/errors.rb', line 42 def initialize(msg = "WhatsApp is not connected. Call connect first.") super end |