Sha256: 49788031d8d7369c28daee48058ce0f30525f3b781ca0b7945b9d60551492264
Contents?: true
Size: 351 Bytes
Versions: 2
Compression:
Stored size: 351 Bytes
Contents
# frozen_string_literal: true module Uploadcare module Exception # Exception for throttled requests class ThrottleError < StandardError attr_reader :timeout # @param timeout [Float] Amount of seconds the request have been throttled for def initialize(timeout = 10.0) @timeout = timeout end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
uploadcare-ruby-3.0.5 | lib/uploadcare/exception/throttle_error.rb |
uploadcare-ruby-3.0.3 | lib/uploadcare/exception/throttle_error.rb |