class Google::Ads::GoogleAds::Errors::GoogleAdsError

Raised when encountering an API-specific error, such as an entity not found or a malformed query.

Attributes

failure[R]

Public Class Methods

new(failure) click to toggle source
# File lib/google/ads/google_ads/errors.rb, line 33
def initialize(failure)
  @failure = failure
end

Public Instance Methods

inspect() click to toggle source
# File lib/google/ads/google_ads/errors.rb, line 37
def inspect
  "#<#{self.class.name}: #{object_id} #{failure.inspect}>"
end