Sha256: 129ac54a671c500e86c8ea1b495b2e147c0d21211cdca9addc741a74da88aa02

Contents?: true

Size: 725 Bytes

Versions: 2

Compression:

Stored size: 725 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::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

2 entries across 2 versions & 1 rubygems

Version Path
bing-ads-0.1.11 lib/bing/ads/api/errors.rb
bing-ads-0.1.10 lib/bing/ads/api/errors.rb