Exception: Rubuild::Env::Error::Key::Full
- Inherits:
-
Rubuild::Env::Error::Key
- Object
- StandardError
- Rubuild::Env::Error
- Rubuild::Env::Error::Key
- Rubuild::Env::Error::Key::Full
- 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
-
#initialize(env, key, provided_location, providing_location) ⇒ Full
constructor
A new instance of Full.
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 |