class Berkshelf::GitCommandError
Public Class Methods
Source
# 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
Calls superclass method