Exception: Vcdeps::InstallError

Inherits:
Error
  • Object
show all
Defined in:
lib/vcdeps.rb

Overview

vcpkg install exited nonzero. Carries the exact failing argv, the child exit status, and the last <= 4000 chars of combined output (UTF-8 scrubbed).

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message, command:, status:, log_tail:) ⇒ InstallError

Returns a new instance of InstallError.



36
37
38
39
40
41
# File 'lib/vcdeps.rb', line 36

def initialize(message, command:, status:, log_tail:)
  super(message)
  @command = command
  @status = status
  @log_tail = log_tail
end

Instance Attribute Details

#commandObject (readonly)

Returns the value of attribute command.



34
35
36
# File 'lib/vcdeps.rb', line 34

def command
  @command
end

#log_tailObject (readonly)

Returns the value of attribute log_tail.



34
35
36
# File 'lib/vcdeps.rb', line 34

def log_tail
  @log_tail
end

#statusObject (readonly)

Returns the value of attribute status.



34
35
36
# File 'lib/vcdeps.rb', line 34

def status
  @status
end