Exception: Ruflow::Error::MismatchOutputType

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

Instance Method Summary collapse

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