Exception: Whatsapp::NodeNotFound

Inherits:
Error
  • Object
show all
Defined in:
lib/whatsapp/errors.rb

Overview

Raised when Node.js is not found on the system.

Instance Method Summary collapse

Constructor Details

#initialize(msg = "Node.js not found. Install Node 18+ to use whatsapp-ruby.") ⇒ NodeNotFound

Returns a new instance of NodeNotFound.



67
68
69
# File 'lib/whatsapp/errors.rb', line 67

def initialize(msg = "Node.js not found. Install Node 18+ to use whatsapp-ruby.")
  super
end