Exception: RVGP::Fakers::FakeFeed::ParameterLengthError
- Inherits:
-
StandardError
- Object
- StandardError
- RVGP::Fakers::FakeFeed::ParameterLengthError
- Defined in:
- lib/rvgp/fakers/fake_feed.rb
Overview
This error is thrown when there is a mismatch between two parameter arrays, passed to a function, whose lengths are required to match.
Instance Method Summary collapse
-
#initialize(parameter, expected, found) ⇒ ParameterLengthError
constructor
A new instance of ParameterLengthError.
Constructor Details
#initialize(parameter, expected, found) ⇒ ParameterLengthError
Returns a new instance of ParameterLengthError.
19 20 21 |
# File 'lib/rvgp/fakers/fake_feed.rb', line 19 def initialize(parameter, expected, found) super format(MSG_FORMAT, expected: expected, parameter: parameter, found: found) end |