Exception: SonyCameraRemote::Discovery::Client::UnknownInterface
- Inherits:
-
StandardError
- Object
- StandardError
- SonyCameraRemote::Discovery::Client::UnknownInterface
- Defined in:
- lib/sony_camera_remote/discovery/client.rb
Instance Method Summary collapse
-
#initialize(offending, available) ⇒ UnknownInterface
constructor
A new instance of UnknownInterface.
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 |