Exception: Subroutine::Outputs::InvalidOutputTypeError
- Inherits:
-
StandardError
- Object
- StandardError
- Subroutine::Outputs::InvalidOutputTypeError
- Defined in:
- lib/subroutine/outputs/invalid_output_type_error.rb
Instance Method Summary collapse
-
#initialize(name:, expected_type:, actual_type:) ⇒ InvalidOutputTypeError
constructor
A new instance of InvalidOutputTypeError.
Constructor Details
#initialize(name:, expected_type:, actual_type:) ⇒ InvalidOutputTypeError
Returns a new instance of InvalidOutputTypeError.
7 8 9 |
# File 'lib/subroutine/outputs/invalid_output_type_error.rb', line 7 def initialize(name:, expected_type:, actual_type:) super("Invalid output type for '#{name}' expected #{expected_type} but got #{actual_type}") end |