class AppMap::Depends::CommandError
Raised when a system / shell command fails.
Attributes
command[R]
msg[R]
Public Class Methods
new(command, msg = nil)
click to toggle source
Calls superclass method
# File lib/appmap/depends/command_error.rb, line 7 def initialize(command, msg = nil) super [ "Command failed: #{command}", msg ].compact.join('; ') @command = command @msg = msg end