Exception: BlockGiven::Connectors::Http::Retry

Inherits:
StandardError
  • Object
show all
Defined in:
lib/block_given/connectors/http.rb

Overview

Internal signal used to retry on retriable JSON-RPC errors.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(cause_error) ⇒ Retry

Returns a new instance of Retry.



102
103
104
105
# File 'lib/block_given/connectors/http.rb', line 102

def initialize(cause_error)
  @cause_error = cause_error
  super(cause_error.message)
end

Instance Attribute Details

#cause_errorObject (readonly)

Returns the value of attribute cause_error.



100
101
102
# File 'lib/block_given/connectors/http.rb', line 100

def cause_error
  @cause_error
end