Exception: FormatParser::RemoteIO::RedirectLimitReached

Inherits:
UpstreamError
  • Object
show all
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

#status_code

Instance Method Summary collapse

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