Exception: Ruflow::Error::MismatchInputType
- Inherits:
-
StandardError
- Object
- StandardError
- Ruflow::Error::MismatchInputType
- Defined in:
- lib/ruflow/error/mismatch_input_type.rb
Instance Method Summary collapse
-
#initialize(value, expect_type) ⇒ MismatchInputType
constructor
A new instance of MismatchInputType.
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 |