Sha256: ef871977238c04395e038566c25af68767c2cf70575b97ebe290a5b9d32bd471

Contents?: true

Size: 300 Bytes

Versions: 107

Compression:

Stored size: 300 Bytes

Contents

module AppMap
  # Raised when a system / shell command fails.
  class CommandError < StandardError
    attr_reader :command, :msg

    def initialize(command, msg = nil)
      super [ "Command failed: #{command}", msg ].compact.join('; ')

      @command = command
      @msg = msg
    end
  end
end

Version data entries

107 entries across 107 versions & 1 rubygems

Version Path
appmap-0.94.1 lib/appmap/command_error.rb
appmap-0.94.0 lib/appmap/command_error.rb
appmap-0.93.5 lib/appmap/command_error.rb
appmap-0.93.4 lib/appmap/command_error.rb
appmap-0.93.3 lib/appmap/command_error.rb
appmap-0.93.2 lib/appmap/command_error.rb
appmap-0.93.1 lib/appmap/command_error.rb
appmap-0.93.0 lib/appmap/command_error.rb
appmap-0.92.1 lib/appmap/command_error.rb
appmap-0.92.0 lib/appmap/command_error.rb
appmap-0.91.0 lib/appmap/command_error.rb
appmap-0.90.1 lib/appmap/command_error.rb
appmap-0.90.0 lib/appmap/command_error.rb
appmap-0.89.0 lib/appmap/command_error.rb
appmap-0.88.0 lib/appmap/command_error.rb
appmap-0.87.0 lib/appmap/command_error.rb
appmap-0.86.0 lib/appmap/command_error.rb
appmap-0.85.0 lib/appmap/command_error.rb
appmap-0.84.0 lib/appmap/command_error.rb
appmap-0.83.6 lib/appmap/command_error.rb