Exception: SonyCameraRemote::Discovery::Client::UnknownInterface

Inherits:
StandardError
  • Object
show all
Defined in:
lib/sony_camera_remote/discovery/client.rb

Instance Method Summary collapse

Constructor Details

#initialize(offending, available) ⇒ UnknownInterface

Returns a new instance of UnknownInterface.



11
12
13
# File 'lib/sony_camera_remote/discovery/client.rb', line 11

def initialize(offending, available)
  super("The interface '#{offending}' is not known. Possible values are #{available.join(', ')}.")
end