Sha256: 2085d71477f4048413673fa2454b17d7a7368b057249ba6a6c5560db7553e5b6
Contents?: true
Size: 426 Bytes
Versions: 2
Compression:
Stored size: 426 Bytes
Contents
class RetryDelayTooLarge < RestClient::Exception def initialize(response, delay:, max_delay:) super(response, response.code) self.message = 'Retry delay of %0.2gs exceeds limit of %0.2gs' % [delay, max_delay] end end class RetryLimitExceeded < RestClient::Exception def initialize(response, max_retries:) super(response, response.code) self.message = "Retry limit (#{max_retries}) exceeded" end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
berkeley_library-util-0.1.9 | lib/berkeley_library/util/uris/exceptions.rb |
berkeley_library-util-0.1.8 | lib/berkeley_library/util/uris/exceptions.rb |