Class: Dry::Types::MissingKeyError
- Inherits:
-
SchemaKeyError
- Object
- Dry::Types::MissingKeyError
- Defined in:
- lib/dry/types/errors.rb
Instance Method Summary collapse
-
#initialize(key) ⇒ MissingKeyError
constructor
A new instance of MissingKeyError.
Constructor Details
#initialize(key) ⇒ MissingKeyError
Returns a new instance of MissingKeyError.
22 23 24 |
# File 'lib/dry/types/errors.rb', line 22 def initialize(key) super(":#{key} is missing in Hash input") end |