Sha256: f388a8dcd0484d50189ce2c6438d6d26aab036a48d4a0cd6972f7ae3ef4f6de6

Contents?: true

Size: 328 Bytes

Versions: 6

Compression:

Stored size: 328 Bytes

Contents

require 'gli'
module Bookingit
  class UnexpectedShellCommandExit < StandardError
    include GLI::StandardException
    attr_reader :command, :stdout, :stderr
    def initialize(command,stdout,stderr)
      @command = command
      @stdout = stdout
      @stderr = stderr
    end

    def exit_code
      126
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
bookingit-0.5.0 lib/bookingit/errors.rb
bookingit-0.4.1 lib/bookingit/errors.rb
bookingit-0.4.0 lib/bookingit/errors.rb
bookingit-0.3.0 lib/bookingit/errors.rb
bookingit-0.2.0 lib/bookingit/errors.rb
bookingit-0.1.0 lib/bookingit/errors.rb