Exception: Hookdeck::ConnectionError

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

Direct Known Subclasses

SSLError, TimeoutError

Instance Attribute Summary collapse

Attributes inherited from Error

#message, #request_id

Instance Method Summary collapse

Constructor Details

#initialize(error) ⇒ ConnectionError

Returns a new instance of ConnectionError.



114
115
116
117
# File 'lib/hookdeck/errors.rb', line 114

def initialize(error)
  @original_error = error
  super(error.message)
end

Instance Attribute Details

#original_errorObject (readonly)

Returns the value of attribute original_error.



112
113
114
# File 'lib/hookdeck/errors.rb', line 112

def original_error
  @original_error
end