Exception: Adyen::ValidationError

Inherits:
AdyenError
  • Object
show all
Defined in:
lib/adyen/errors.rb

Overview

when JSON payload cannot be processed (violates business rules)

Instance Attribute Summary

Attributes inherited from AdyenError

#code, #msg, #request, #response

Instance Method Summary collapse

Methods inherited from AdyenError

#mask_fields

Constructor Details

#initialize(msg, request, response) ⇒ ValidationError

Returns a new instance of ValidationError.



91
92
93
# File 'lib/adyen/errors.rb', line 91

def initialize(msg, request, response)
  super(request, response, msg, 422)
end