class Helio::ParticipantError

ParticipantError is raised when a user enters a card that can't be charged for some reason.

Attributes

code[R]
param[R]

Public Class Methods

new(message, param, code, http_status: nil, http_body: nil, json_body: nil, http_headers: nil) click to toggle source
Calls superclass method Helio::HelioError::new
# File lib/helio/errors.rb, line 62
def initialize(message, param, code, http_status: nil, http_body: nil, json_body: nil,
               http_headers: nil)
  super(message, http_status: http_status, http_body: http_body,
                 json_body: json_body, http_headers: http_headers)
  @param = param
  @code = code
end