Exception: PushPay::ValidationError
- Defined in:
- lib/pushpay/errors.rb
Instance Attribute Summary collapse
-
#errors ⇒ Object
readonly
Returns the value of attribute errors.
Attributes inherited from APIError
Instance Method Summary collapse
-
#initialize(message, status_code = nil, response_body = nil, errors = {}) ⇒ ValidationError
constructor
A new instance of ValidationError.
Constructor Details
#initialize(message, status_code = nil, response_body = nil, errors = {}) ⇒ ValidationError
Returns a new instance of ValidationError.
31 32 33 34 |
# File 'lib/pushpay/errors.rb', line 31 def initialize(, status_code = nil, response_body = nil, errors = {}) super(, status_code, response_body) @errors = errors end |
Instance Attribute Details
#errors ⇒ Object (readonly)
Returns the value of attribute errors.
29 30 31 |
# File 'lib/pushpay/errors.rb', line 29 def errors @errors end |