class Autoshell::CommandError
Exception thrown by autoshell methods when a command fails
sh = Autoshell.new begin sh.run 'missing-command' rescue Autoshell::CommandError => exc puts 'command failed!' end
Exception thrown by autoshell methods when a command fails
sh = Autoshell.new begin sh.run 'missing-command' rescue Autoshell::CommandError => exc puts 'command failed!' end