Exception: Mercadopago::MPConnectionError
- Inherits:
-
MercadoPagoError
- Object
- StandardError
- MercadoPagoError
- Mercadopago::MPConnectionError
- Defined in:
- lib/mercadopago/errors/exceptions.rb
Overview
Transport-level or network error (timeout, DNS failure, SSL error).
Instance Attribute Summary
Attributes inherited from MercadoPagoError
#causes, #error, #request_id, #status_code
Instance Method Summary collapse
-
#initialize(cause) ⇒ MPConnectionError
constructor
A new instance of MPConnectionError.
Constructor Details
#initialize(cause) ⇒ MPConnectionError
Returns a new instance of MPConnectionError.
75 76 77 |
# File 'lib/mercadopago/errors/exceptions.rb', line 75 def initialize(cause) super(0, { 'error' => 'connection_error', 'message' => cause.to_s }) end |