Exception: Dogviz::DuplicateLookupError
- Inherits:
-
LookupError
- Object
- StandardError
- LookupError
- Dogviz::DuplicateLookupError
- Defined in:
- lib/dogviz/duplicate_lookup_error.rb
Instance Method Summary collapse
-
#initialize(context, name) ⇒ DuplicateLookupError
constructor
A new instance of DuplicateLookupError.
Constructor Details
#initialize(context, name) ⇒ DuplicateLookupError
Returns a new instance of DuplicateLookupError.
3 4 5 |
# File 'lib/dogviz/duplicate_lookup_error.rb', line 3 def initialize(context, name) super context, "More than one object registered of name '#{name}' - you'll need to search in a narrower context" end |