Exception: RVGP::Fakers::FakeFeed::ParameterLengthError

Inherits:
StandardError
  • Object
show all
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

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