Exception: Ruflow::Error::MismatchOutputInputType
- Inherits:
-
StandardError
- Object
- StandardError
- Ruflow::Error::MismatchOutputInputType
- Defined in:
- lib/ruflow/error/mismatch_output_input_type.rb
Instance Attribute Summary collapse
-
#errors ⇒ Object
readonly
Returns the value of attribute errors.
Instance Method Summary collapse
-
#initialize(errors, msg = "Mismatches found in: ") ⇒ MismatchOutputInputType
constructor
A new instance of MismatchOutputInputType.
Constructor Details
#initialize(errors, msg = "Mismatches found in: ") ⇒ MismatchOutputInputType
Returns a new instance of MismatchOutputInputType.
6 7 8 9 |
# File 'lib/ruflow/error/mismatch_output_input_type.rb', line 6 def initialize(errors, msg="Mismatches found in: ") @errors = Array(errors) super(msg + format_errors) end |
Instance Attribute Details
#errors ⇒ Object (readonly)
Returns the value of attribute errors.
4 5 6 |
# File 'lib/ruflow/error/mismatch_output_input_type.rb', line 4 def errors @errors end |