Exception: Datahen::Error::CustomRetryError
- Inherits:
-
Exception
- Object
- Exception
- Datahen::Error::CustomRetryError
- Defined in:
- lib/datahen/error/custom_retry_error.rb
Instance Attribute Summary collapse
-
#delay ⇒ Object
Returns the value of attribute delay.
-
#error ⇒ Object
Returns the value of attribute error.
Instance Method Summary collapse
-
#initialize(delay, error = nil) ⇒ CustomRetryError
constructor
A new instance of CustomRetryError.
Constructor Details
#initialize(delay, error = nil) ⇒ CustomRetryError
Returns a new instance of CustomRetryError.
6 7 8 9 |
# File 'lib/datahen/error/custom_retry_error.rb', line 6 def initialize delay, error = nil self.error = error self.delay = delay end |
Instance Attribute Details
#delay ⇒ Object
Returns the value of attribute delay.
4 5 6 |
# File 'lib/datahen/error/custom_retry_error.rb', line 4 def delay @delay end |
#error ⇒ Object
Returns the value of attribute error.
4 5 6 |
# File 'lib/datahen/error/custom_retry_error.rb', line 4 def error @error end |