Exception: Fancybox2::Module::Exceptions::NotValidMQTTClient

Inherits:
StandardError
  • Object
show all
Defined in:
lib/fancybox2/module/exceptions.rb

Instance Method Summary collapse

Constructor Details

#initialize(message = nil) ⇒ NotValidMQTTClient

Returns a new instance of NotValidMQTTClient.



20
21
22
23
# File 'lib/fancybox2/module/exceptions.rb', line 20

def initialize(message = nil)
  message = message || 'The provided MQTT client is not an instance of PahoMqtt::Client'
  super(message)
end