Exception: BoxView::Http::RetryNeededError

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

Direct Known Subclasses

RequestThrottledError

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(msg, retry_after) ⇒ RetryNeededError

Returns a new instance of RetryNeededError.



12
13
14
15
# File 'lib/box_view/http.rb', line 12

def initialize(msg, retry_after)
  @retry_after = retry_after
  super(msg)
end

Instance Attribute Details

#retry_afterObject (readonly)

Returns the value of attribute retry_after.



10
11
12
# File 'lib/box_view/http.rb', line 10

def retry_after
  @retry_after
end