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.



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

def initialize(message)
  @message = message
end

Instance Method Details

#to_sObject



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

def to_s; @message ;end