Sha256: 0a4dd7cecdfd0f98fc555aadb0996b4008bafa032e015cdce25eb31b11b99c69
Contents?: true
Size: 373 Bytes
Versions: 6
Compression:
Stored size: 373 Bytes
Contents
# frozen_string_literal: true require 'faraday' module FaradayMiddleware # Exception thrown when the maximum amount of requests is # exceeded. class RedirectLimitReached < Faraday::ClientError attr_reader :response def initialize(response) super "too many redirects; last one to: #{response['location']}" @response = response end end end
Version data entries
6 entries across 6 versions & 2 rubygems