Sha256: 10cfd9b1597fdae39c0522996cbfddf7d7bcdb9d0fe0c56161e68c38499b6ea1
Contents?: true
Size: 579 Bytes
Versions: 7
Compression:
Stored size: 579 Bytes
Contents
# frozen_string_literal: true require 'cloud_party/exception' module CloudParty module Errors # Page/Endpoint doesn't exist class UnsupportedMediaTypeError < RequestError def initialize(obj:, method:, response:, endpoint: nil, code: 415) super end def self.error_string <<~HEREDOC There was a '429 -- Too many requests' error. You've hit the rate limit of Cloudflare HEREDOC end def self.extra_string <<~HEREDOC VERB: #{@method} HEREDOC end end end end
Version data entries
7 entries across 7 versions & 1 rubygems