Exception: Creditario::Exceptions::APIBusyError
- Inherits:
-
StandardError
- Object
- StandardError
- Creditario::Exceptions::APIBusyError
- Defined in:
- lib/creditario/exceptions.rb
Overview
Excepción arrojada cuando el servidor de creditar.io se tarda mucho en responder. O cuando se pierde la conexión de internet a medio request. Probablemente reintentando la petición se solucione el problema.
Constant Summary collapse
- TECHNICAL_MESSAGE =
:nodoc:
"Technical message -> "
- HUMAN_MESSAGE =
:nodoc:
"The communication with the API has timed out.\n"
Instance Method Summary collapse
-
#initialize(message) ⇒ APIBusyError
constructor
:nodoc:.
Constructor Details
#initialize(message) ⇒ APIBusyError
:nodoc:
116 117 118 |
# File 'lib/creditario/exceptions.rb', line 116 def initialize() # :nodoc: super(msg = "#{HUMAN_MESSAGE}#{TECHNICAL_MESSAGE}#{}") end |