Exception: Creditario::Exceptions::APINotReachableError
- Inherits:
-
StandardError
- Object
- StandardError
- Creditario::Exceptions::APINotReachableError
- Defined in:
- lib/creditario/exceptions.rb
Overview
Excepción arrojada cuando no se puede establecer comunicación con el servidor de la API de creditar.io
Constant Summary collapse
- TECHNICAL_MESSAGE =
:nodoc:
"Technical message -> "
- HUMAN_MESSAGE =
:nodoc:
"Looks like the API for creditar.io is down.\n"
Instance Method Summary collapse
-
#initialize(message) ⇒ APINotReachableError
constructor
:nodoc:.
Constructor Details
#initialize(message) ⇒ APINotReachableError
:nodoc:
91 92 93 |
# File 'lib/creditario/exceptions.rb', line 91 def initialize() # :nodoc: super(msg = "#{HUMAN_MESSAGE}#{TECHNICAL_MESSAGE}#{}") end |