Sha256: a53673d545a6817702094f6ed9f0adbf7f9bc82fc6d1acf85adba4e2476b2f47
Contents?: true
Size: 366 Bytes
Versions: 19
Compression:
Stored size: 366 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) super @timeout = timeout end end end end
Version data entries
19 entries across 19 versions & 1 rubygems