Sha256: 15aa4fc5d640791165ebe5116ec3d1ade20c4a4ea670931a4ecad0fb54faccbc

Contents?: true

Size: 254 Bytes

Versions: 7

Compression:

Stored size: 254 Bytes

Contents

# frozen_string_literal: true

module FacebookAds
  class AdException < StandardError
    attr_reader :code, :title, :message

    def initialize(code:, title:, message:)
      @code = code
      @title = title
      @message = message
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
facebook_ads-0.6.11 lib/facebook_ads/ad_exception.rb
facebook_ads-0.6.10 lib/facebook_ads/ad_exception.rb
facebook_ads-0.6.9 lib/facebook_ads/ad_exception.rb
facebook_ads-0.6.7 lib/facebook_ads/ad_exception.rb
facebook_ads-0.6.6 lib/facebook_ads/ad_exception.rb
facebook_ads-0.6.5 lib/facebook_ads/ad_exception.rb
facebook_ads-0.6.4 lib/facebook_ads/ad_exception.rb