Exception: SgtnClient::Exceptions::SSLError

Inherits:
ConnectionError show all
Defined in:
lib/sgtn-client/core/exceptions.rb

Overview

Raised when a OpenSSL::SSL::SSLError occurs.

Instance Attribute Summary

Attributes inherited from ConnectionError

#response

Instance Method Summary collapse

Constructor Details

#initialize(message) ⇒ SSLError

Returns a new instance of SSLError.



43
44
45
# File 'lib/sgtn-client/core/exceptions.rb', line 43

def initialize(message)
  @message = message
end

Instance Method Details

#to_sObject



46
# File 'lib/sgtn-client/core/exceptions.rb', line 46

def to_s; @message ;end