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.



22
23
24
25
# File 'lib/fancybox2/module/exceptions.rb', line 22

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