Exception: Rubuild::Env::Error::Key::Full

Inherits:
Rubuild::Env::Error::Key show all
Defined in:
lib/rubuild/env.rb

Overview

Rubuild::Env::Error::Key::Full Attempt to provide the same key to the registry twice.

Instance Method Summary collapse

Constructor Details

#initialize(env, key, provided_location, providing_location) ⇒ Full

Returns a new instance of Full.



38
39
40
41
42
43
44
45
46
47
48
# File 'lib/rubuild/env.rb', line 38

def initialize(env, key, provided_location, providing_location)
  super(
    env, key,
    "Key #{key.dump} already exists in registry at " +
    "#{provided_location.found_dep.name} while providing " +
    "#{providing_location.found_dep.name}")
  self.rubuild_env_error_key_full__provided_location = 
    provided_location
  self.rubuild_env_error_key_full__providing_location = 
    providing_location
end