Exception: Dry::Container::Nested::NoNameError
- Inherits:
-
ArgumentError
- Object
- ArgumentError
- Dry::Container::Nested::NoNameError
- Defined in:
- lib/dry/container/nested.rb
Overview
Error
Instance Method Summary collapse
-
#initialize(other) ⇒ NoNameError
constructor
A new instance of NoNameError.
Constructor Details
#initialize(other) ⇒ NoNameError
Returns a new instance of NoNameError.
105 106 107 108 |
# File 'lib/dry/container/nested.rb', line 105 def initialize(other) super("#{other.inspect} cannot be used as a nested container, "\ 'because it does not have a name') end |