class CloudParty::Errors::TooManyRequestsError
Page/Endpoint doesn't exist
Public Class Methods
error_string()
click to toggle source
# File lib/cloud_party/exceptions/request_errors/too_many_requests_error.rb, line 12 def self.error_string <<~HEREDOC There was a '429 -- Too many requests' error. You've hit the rate limit of Cloudflare HEREDOC end
extra_string()
click to toggle source
# File lib/cloud_party/exceptions/request_errors/too_many_requests_error.rb, line 19 def self.extra_string <<~HEREDOC VERB: #{@method} HEREDOC end
new(obj:, method:, response:, endpoint: nil, code: 429)
click to toggle source
Calls superclass method
CloudParty::Errors::RequestError::new
# File lib/cloud_party/exceptions/request_errors/too_many_requests_error.rb, line 8 def initialize(obj:, method:, response:, endpoint: nil, code: 429) super end