Sha256: c0474b51c3385ff570946a4dbc6a00ce5d60c7b32c5c492fc64642ef7f39de00

Contents?: true

Size: 823 Bytes

Versions: 1

Compression:

Stored size: 823 Bytes

Contents

module Bing
  module Ads
    module API
      module Errors
        # Bing::Ads::API::Errors::AuthenticationParamsMissing
        class AuthenticationParamsMissing < RuntimeError; end;

        # Bing::Ads::API::Errors::AuthenticationTokenExpired
        class AuthenticationTokenExpired < RuntimeError; end;

        # Bing::Ads::API::Errors::UnhandledSOAPFault
        class UnhandledSOAPFault < RuntimeError; end;

        # Bing::Ads::API::Errors::DownloadError
        class DownloadError < RuntimeError; end;

        # Bing::Ads::API::Errors::LimitError
        class LimitError < RuntimeError
          def initialize(operation, limit, type)
            super("can not #{operation} more than #{limit} #{type.to_s.humanize.downcase.pluralize} in a single call")
          end
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
bing-ads-0.2.0 lib/bing/ads/api/errors.rb