Exception: WifiWand::CommandNotFoundError

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

Overview

SYSTEM/PERMISSION ERRORS ===

Instance Method Summary collapse

Methods inherited from Error

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

Constructor Details

#initialize(commands) ⇒ CommandNotFoundError

Returns a new instance of CommandNotFoundError.



234
235
236
237
# File 'lib/wifi_wand/errors.rb', line 234

def initialize(commands)
  commands = Array(commands)
  super("Missing required system command(s): #{commands.join(', ')}")
end