lib/neetob.rb in neetob-0.4.16 vs lib/neetob.rb in neetob-0.4.19

- old
+ new

@@ -4,7 +4,12 @@ require_relative "neetob/cli" require_relative "neetob/exception_handler" module Neetob class Error < StandardError; end - # Your code goes here... + + class CommandExecutionError < Neetob::Error + def initialize(command, status_code) + super("Failed to execute: #{command} \nProcess terminated with status code: #{status_code}") + end + end end