class Bundler::Source::Git::GitCommandError - bundler: Ruby Standard Library Documentation

# class Bundler::Source::Git::GitCommandError

### Attributes

command[R]

### Public Class Methods

new(command, path, extra_info = nil) click to toggle source
Calls superclass method

    # File bundler/source/git/git_proxy.rb, line 28
    def initialize(command, path, extra_info = nil)
      @command = command

      msg = String.new("Git error: command `#{command}`")
      msg << " in directory #{path}" if path
      msg << " has failed."
      msg << "\n#{extra_info}" if extra_info
      super msg
    end