Exception: EasyConf::LookupNameConflictError

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/easy_conf/errors/lookup_name_conflict_error.rb

Instance Method Summary collapse

Constructor Details

#initialize(name) ⇒ LookupNameConflictError

Returns a new instance of LookupNameConflictError.



4
5
6
7
8
9
10
# File 'lib/easy_conf/errors/lookup_name_conflict_error.rb', line 4

def initialize(name)
  message = "`#{name}` placeholder is conflicting with the internal methods " \
            "of the `EasyConf::Configuration` class. Register lookup with a " \
            "different name to solve this issue!"

  super(message)
end