Exception: Dry::Types::RepeatedAttributeError
- Inherits:
-
ArgumentError
- Object
- ArgumentError
- Dry::Types::RepeatedAttributeError
- Defined in:
- lib/dry/types/errors.rb
Instance Method Summary collapse
-
#initialize(key) ⇒ RepeatedAttributeError
constructor
A new instance of RepeatedAttributeError.
Constructor Details
#initialize(key) ⇒ RepeatedAttributeError
Returns a new instance of RepeatedAttributeError.
22 23 24 |
# File 'lib/dry/types/errors.rb', line 22 def initialize(key) super("Attribute :#{key} has already been defined") end |