Exception: WifiWand::WifiServiceError

Inherits:
WifiInterfaceError show all
Defined in:
lib/wifi_wand/errors.rb

Instance Method Summary collapse

Methods inherited from Error

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

Constructor Details

#initializeWifiServiceError

Returns a new instance of WifiServiceError.



96
97
98
99
100
# File 'lib/wifi_wand/errors.rb', line 96

def initialize
  message = 'No macOS WiFi network service found. Ensure WiFi hardware has a Network Settings service ' \
    'configured.'
  super(nil, message: message)
end