Exception: Ruflow::Error::MismatchInputType

Inherits:
StandardError
  • Object
show all
Defined in:
lib/ruflow/error/mismatch_input_type.rb

Instance Method Summary collapse

Constructor Details

#initialize(value, expect_type) ⇒ MismatchInputType

Returns a new instance of MismatchInputType.



4
5
6
# File 'lib/ruflow/error/mismatch_input_type.rb', line 4

def initialize(value, expect_type)
  super("Expected INPUT as #{expect_type}, but received #{value.class}")
end