class PaysonAPI::V2::Errors::ValidationError

Attributes

errors[R]

Public Class Methods

new(msg = 'Validation failed', errors: []) click to toggle source
Calls superclass method
# File lib/payson_api/v2/errors/validation_error.rb, line 9
def initialize(msg = 'Validation failed', errors: [])
  @errors = errors
  super(msg)
end