Exception: Bundler::Plugin::Index::CommandConflict

Inherits:
Bundler::PluginError show all
Defined in:
lib/bundler/plugin/index.rb

Instance Method Summary collapse

Methods inherited from BundlerError

all_errors, status_code

Constructor Details

#initialize(plugin, commands) ⇒ CommandConflict

Returns a new instance of CommandConflict.



10
11
12
13
# File 'lib/bundler/plugin/index.rb', line 10

def initialize(plugin, commands)
  msg = "Command(s) `#{commands.join("`, `")}` declared by #{plugin} are already registered."
  super msg
end