Exception: Elements::APIConnectionError

Inherits:
ElementsError
  • Object
show all
Defined in:
lib/elements/errors.rb

Constant Summary collapse

CAUSE_ERROR_CLASSES =
[
  EOFError,
  Errno::ECONNREFUSED,
  Errno::ECONNRESET,
  Errno::EHOSTUNREACH,
  Errno::ETIMEDOUT,
  SocketError,

  Net::OpenTimeout,
  Net::ReadTimeout,

  OpenSSL::SSL::SSLError,

  RestClient::ServerBrokeConnection,
  RestClient::SSLCertificateNotVerified,
  RestClient::Exceptions::OpenTimeout,
  RestClient::Exceptions::ReadTimeout
].freeze

Instance Attribute Summary

Attributes inherited from ElementsError

#error, #http_body, #http_headers, #http_status, #message, #response

Method Summary

Methods inherited from ElementsError

#initialize

Constructor Details

This class inherits a constructor from Elements::ElementsError