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.66.1 lib/appmap/command_error.rb
appmap-0.66.0 lib/appmap/command_error.rb
appmap-0.65.1 lib/appmap/command_error.rb
appmap-0.65.0 lib/appmap/command_error.rb
appmap-0.64.0 lib/appmap/command_error.rb
appmap-0.63.0 lib/appmap/command_error.rb
appmap-0.62.1 lib/appmap/command_error.rb
appmap-0.62.0 lib/appmap/command_error.rb
appmap-0.61.1 lib/appmap/command_error.rb
appmap-0.61.0 lib/appmap/command_error.rb
appmap-0.60.0 lib/appmap/command_error.rb
appmap-0.59.2 lib/appmap/command_error.rb
appmap-0.59.1 lib/appmap/command_error.rb
appmap-0.59.0 lib/appmap/command_error.rb
appmap-0.58.0 lib/appmap/command_error.rb
appmap-0.57.1 lib/appmap/command_error.rb
appmap-0.57.0 lib/appmap/command_error.rb
appmap-0.56.0 lib/appmap/command_error.rb
appmap-0.55.0 lib/appmap/command_error.rb
appmap-0.54.4 lib/appmap/command_error.rb