Exception: ContractedValue::Errors::InvalidInputType

Inherits:
ArgumentError
  • Object
show all
Defined in:
lib/contracted_value/core.rb

Instance Method Summary collapse

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