Exception: FormatParser::RemoteIO::RedirectLimitReached
- Inherits:
-
UpstreamError
- Object
- StandardError
- UpstreamError
- FormatParser::RemoteIO::RedirectLimitReached
- Defined in:
- lib/remote_io.rb
Overview
Represents a failure where the maximum amount of redirect requests are exceeded.
Instance Attribute Summary
Attributes inherited from UpstreamError
Instance Method Summary collapse
-
#initialize(uri) ⇒ RedirectLimitReached
constructor
A new instance of RedirectLimitReached.
Constructor Details
#initialize(uri) ⇒ RedirectLimitReached
Returns a new instance of RedirectLimitReached.
29 30 31 |
# File 'lib/remote_io.rb', line 29 def initialize(uri) super(504, "Too many redirects; last one to: #{uri}") end |