Exception: Ruflow::Error::MismatchOutputType
- Inherits:
-
StandardError
- Object
- StandardError
- Ruflow::Error::MismatchOutputType
- Defined in:
- lib/ruflow/error/mismatch_output_type.rb
Instance Method Summary collapse
-
#initialize(value, expect_type) ⇒ MismatchOutputType
constructor
A new instance of MismatchOutputType.
Constructor Details
#initialize(value, expect_type) ⇒ MismatchOutputType
Returns a new instance of MismatchOutputType.
4 5 6 |
# File 'lib/ruflow/error/mismatch_output_type.rb', line 4 def initialize(value, expect_type) super("Expected OUTPUT to be a #{expect_type}, but was #{value.class}") end |