class HubbleObservatory::ConnectionError

Documents the connection errors that can occur

Public Class Methods

errors() click to toggle source

Possible list of connection errors that can occur

# File lib/hubble_observatory/errors.rb, line 6
def self.errors
  [
    OpenSSL::SSL::SSLError,
    Errno::ETIMEDOUT,
    Errno::EHOSTUNREACH,
    Errno::ENETUNREACH,
    Errno::ECONNRESET,
    Net::OpenTimeout,
    SocketError
  ]
end