Exception: Stripe::CannotProceedError
- Inherits:
-
StripeError
- Object
- StandardError
- StripeError
- Stripe::CannotProceedError
- Defined in:
- lib/stripe/errors.rb
Instance Attribute Summary collapse
-
#reason ⇒ Object
readonly
Returns the value of attribute reason.
Attributes inherited from StripeError
#code, #error, #http_body, #http_headers, #http_status, #json_body, #message, #request_id, #response
Instance Method Summary collapse
-
#initialize(message = nil, http_body: nil, http_status: nil, json_body: nil, http_headers: nil, code: nil, reason: nil) ⇒ CannotProceedError
constructor
A new instance of CannotProceedError.
Methods inherited from StripeError
#construct_error_object, #to_s
Constructor Details
#initialize(message = nil, http_body: nil, http_status: nil, json_body: nil, http_headers: nil, code: nil, reason: nil) ⇒ CannotProceedError
Returns a new instance of CannotProceedError.
177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 |
# File 'lib/stripe/errors.rb', line 177 def initialize( = nil, http_body: nil, http_status: nil, json_body: nil, http_headers: nil, code: nil, reason: nil ) super( , http_body: http_body, http_status: http_status, json_body: json_body, http_headers: http_headers, code: code, ) @reason = reason end |
Instance Attribute Details
#reason ⇒ Object (readonly)
Returns the value of attribute reason.
175 176 177 |
# File 'lib/stripe/errors.rb', line 175 def reason @reason end |