Exception: HTTPI::SSLError

Inherits:
Error
  • Object
show all
Defined in:
lib/httpi.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message = nil, original = $!) ⇒ SSLError

Returns a new instance of SSLError.



97
98
99
100
# File 'lib/httpi.rb', line 97

def initialize(message = nil, original = $!)
  super(message || original.message)
  @original = original
end

Instance Attribute Details

#originalObject (readonly)

Returns the value of attribute original.



101
102
103
# File 'lib/httpi.rb', line 101

def original
  @original
end