Exception: PayPro::ValidationError
- Defined in:
- lib/pay_pro/errors.rb
Instance Method Summary collapse
-
#initialize(param:, **kwargs) ⇒ ValidationError
constructor
A new instance of ValidationError.
Constructor Details
#initialize(param:, **kwargs) ⇒ ValidationError
Returns a new instance of ValidationError.
29 30 31 32 33 34 |
# File 'lib/pay_pro/errors.rb', line 29 def initialize(param:, **kwargs) @param = param kwargs[:message] = "#{kwargs[:message]}, with param: \"#{@param}\"" super(**kwargs) end |