Exception: WifiWand::MultipleOSMatchError

Inherits:
Error
  • Object
show all
Defined in:
lib/wifi_wand/errors.rb

Overview

OPERATING SYSTEM DETECTION ERRORS ===

Instance Method Summary collapse

Methods inherited from Error

#append_help_hint?, #display_message, #exception, #message_for_display

Constructor Details

#initialize(matching_os_names) ⇒ MultipleOSMatchError

Returns a new instance of MultipleOSMatchError.



312
313
314
# File 'lib/wifi_wand/errors.rb', line 312

def initialize(matching_os_names)
  super("Multiple OS matches found: #{matching_os_names.join(', ')}. This should not happen")
end