Exception: Creditario::Exceptions::APINotReachableError

Inherits:
StandardError
  • Object
show all
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

Constructor Details

#initialize(message) ⇒ APINotReachableError

:nodoc:



91
92
93
# File 'lib/creditario/exceptions.rb', line 91

def initialize(message) # :nodoc:
  super(msg = "#{HUMAN_MESSAGE}#{TECHNICAL_MESSAGE}#{message}")
end