Exception: Neetob::CommandExecutionError

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

Instance Method Summary collapse

Constructor Details

#initialize(command, status_code) ⇒ CommandExecutionError

Returns a new instance of CommandExecutionError.



11
12
13
# File 'lib/neetob.rb', line 11

def initialize(command, status_code)
  super("Failed to execute: #{command} \nProcess terminated with status code: #{status_code}")
end