Exception: Shaf::RegistrableFactory::NoIdentifiersError
- Inherits:
-
StandardError
- Object
- StandardError
- Shaf::RegistrableFactory::NoIdentifiersError
- Defined in:
- lib/shaf/registrable_factory.rb
Instance Method Summary collapse
-
#initialize(clazz) ⇒ NoIdentifiersError
constructor
A new instance of NoIdentifiersError.
Constructor Details
#initialize(clazz) ⇒ NoIdentifiersError
Returns a new instance of NoIdentifiersError.
6 7 8 9 10 11 |
# File 'lib/shaf/registrable_factory.rb', line 6 def initialize(clazz) super <<~ERR #{clazz} does not have an @identifiers ivar. Did you perhaps forget to call `#{clazz}.identifier`? ERR end |