class Berkshelf::HgLocation::HgCommandError
Public Class Methods
new(command, response, path = nil)
click to toggle source
Calls superclass method
# File lib/berkshelf/locations/hg.rb, line 19 def initialize(command, response, path = nil) super "Hg error: command `hg #{command}` failed. If this error " \ "persists, try removing the cache directory at `#{path}'." \ "\nstdout:#{response.stdout}\nstderr:#{response.stderr}" end