Exception: ContractedValue::Errors::InvalidInputType
- Inherits:
-
ArgumentError
- Object
- ArgumentError
- ContractedValue::Errors::InvalidInputType
- Defined in:
- lib/contracted_value/core.rb
Instance Method Summary collapse
-
#initialize(input_val) ⇒ InvalidInputType
constructor
A new instance of InvalidInputType.
Constructor Details
#initialize(input_val) ⇒ InvalidInputType
Returns a new instance of InvalidInputType.
42 43 44 45 46 47 48 |
# File 'lib/contracted_value/core.rb', line 42 def initialize(input_val) super( <<~MSG Input must be a Hash, but got: <#{input_val.inspect}> MSG ) end |