class Berkshelf::GitCommandError
Public Class Methods
new(command, path, stderr = nil)
click to toggle source
Calls superclass method
# File lib/berkshelf/errors.rb, line 574 def initialize(command, path, stderr = nil) out = "Git error: command `git #{command}` failed. If this error " out << "persists, try removing the cache directory at '#{path}'." if stderr out << "Output from the command:\n\n" out << stderr end super(out) end