Sha256: db37263e7f020154696fb24fc55a08092ca8607abb9c178941f13829a3d545eb

Contents?: true

Size: 293 Bytes

Versions: 8

Compression:

Stored size: 293 Bytes

Contents

# frozen_string_literal: true
module Notion
  module Api
    module Errors
      class TooManyRequests < ::Faraday::Error
        attr_reader :response

        def initialize(response)
          @response = response
          super 'Too many requests'
        end
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
notion-ruby-client-1.2.2 lib/notion/api/errors/too_many_requests.rb
notion-ruby-client-1.2.1 lib/notion/api/errors/too_many_requests.rb
notion-ruby-client-1.2.0 lib/notion/api/errors/too_many_requests.rb
notion-ruby-client-1.1.0 lib/notion/api/errors/too_many_requests.rb
notion-ruby-client-1.0.0 lib/notion/api/errors/too_many_requests.rb
notion-ruby-client-1.0.0.pre.beta2 lib/notion/api/errors/too_many_requests.rb
notion-ruby-client-1.0.0.pre.beta1 lib/notion/api/errors/too_many_requests.rb
notion-ruby-client-0.1.0.pre.beta1 lib/notion/api/errors/too_many_requests.rb