Exception: Slash::SSLError

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



25
26
27
# File 'lib/slash/exceptions.rb', line 25

def initialize(message)
  @message = message
end

Instance Method Details

#to_sObject



28
# File 'lib/slash/exceptions.rb', line 28

def to_s; @message ;end