Exception: Dry::Container::Nested::NoNameError

Inherits:
ArgumentError
  • Object
show all
Defined in:
lib/dry/container/nested.rb

Overview

Error

Instance Method Summary collapse

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