Exception: Socialcastr::SSLError

Inherits:
ConnectionError show all
Defined in:
lib/socialcastr/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.



30
31
32
# File 'lib/socialcastr/exceptions.rb', line 30

def initialize(message)
  @message = message
end

Instance Method Details

#to_sObject



33
# File 'lib/socialcastr/exceptions.rb', line 33

def to_s; @message ;end