Exception: Spacebunny::DeviceIdMissing

Inherits:
ArgumentError
  • Object
show all
Defined in:
lib/spacebunny/exceptions.rb

Instance Method Summary collapse

Constructor Details

#initialize(message = nil) ⇒ DeviceIdMissing

Returns a new instance of DeviceIdMissing.



85
86
87
88
# File 'lib/spacebunny/exceptions.rb', line 85

def initialize(message = nil)
  message = message || "missing mandatory 'device_id' parameter. Please provide it on client initialization (see doc) or use auto-configuration"
  super(message)
end